-
Notifications
You must be signed in to change notification settings - Fork 5
Getting Started
Logan Franken edited this page Feb 13, 2014
·
6 revisions
To begin using the EFC Calculator from your web application, complete the following steps:
- Download the latest binaries
- Download Efc.CalculationConstants.1314.xml
- Reference
Ucsb.Sa.FinAid.AidEstimation.EfcCalculation.dll
- Reference
Ucsb.Sa.FinAid.AidEstimation.Utility.dll
- Place
EfcCalculationConstants.1314.xml
inApp_Data
- Add the following to the
appSettings
section in your Web.config:
<add key="EfcCalculation.Constants.1314" value="~/App_Data/EfcCalculationConstants.1314.xml"/>
You can now use the EFC calculator:
EfcCalculator calculator = EfcCalculatorConfigurationManager.GetEfcCalculator("1314");
DependentEfcCalculatorArguments arguments = new DependentEfcCalculatorArguments();
arguments.MonthsOfEnrollment = 9;
arguments.NumberInHousehold = 2;
arguments.NumberInCollege = 1;
HouseholdMember mother = new HouseholdMember();
mother.IsWorking = true;
mother.WorkIncome = 123000;
arguments.FirstParent = mother;
HouseholdMember student = new HouseholdMember();
student.IsWorking = true;
student.WorkIncome = 12000;
arguments.Student = student;
EfcProfile profile = calculator.GetDependentEfcProfile(arguments);
Response.Write(profile.ExpectedFamilyContribution);
A full, working version of the EFC Calculator is provided in the Ucsb.Sa.FinAid.AidEstimation.Web
project.