WHY does my Cache object contain the solution directory? Please look at this screenshot;
https://flic.kr/p/p3cf4V
Here is my aspx code behind code;
using System;
using System.Collections;
using System.Linq;
using System.Web.UI.WebControls;
namespace WebAppCaching
{
public partial class CarValue : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
getValueButton.Click += getValueButton_Click;
if (!IsPostBack)
{
PopulateDropDowns();
}
}
void getValueButton_Click(object sender, EventArgs e)
{
var makeId = int.Parse(makeDropDown.SelectedValue);
var year = int.Parse(yearDropDown.SelectedValue);
var conditionId = int.Parse(conditionDropDown.SelectedValue);
var carValueService = new CarValueService();
...
Go to the complete details ...