zoals ik al zei, terug naar af

This commit is contained in:
Joham 2020-05-02 20:44:02 +02:00
parent 146f0eeb0a
commit 145f5e6a8b
119 changed files with 193454 additions and 193454 deletions

View file

@ -1,337 +1,337 @@
//!----------------------------------------------------------
//! Copyright (C) Microsoft Corporation. All rights reserved.
//!----------------------------------------------------------
//! MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------
//!----------------------------------------------------------
//! Copyright (C) Microsoft Corporation. All rights reserved.
//!----------------------------------------------------------
//! MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------

View file

@ -2,7 +2,7 @@
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------
// MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_AjaxOptions=function(){return {};}
Sys.Mvc.InsertionMode=function(){};Sys.Mvc.InsertionMode.prototype = {replace:0,insertBefore:1,insertAfter:2}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode',false);Sys.Mvc.AjaxContext=function(request,updateTarget,loadingElement,insertionMode){this.$3=request;this.$4=updateTarget;this.$1=loadingElement;this.$0=insertionMode;}

View file

@ -1,81 +1,81 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Azure Store Products</title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(context.User.Identity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<%if context.User.IsInRole("Home") then %>
<h1><span class="product-category">Home</span> Products</h1>
<% else %>
<h1><span class="product-category">Enterprise</span> Products</h1>
<% end if %>
<label for="items">Select a product from the list:</label>
<%
dim product
dim myForm = Html.BeginForm("Add", "Home") %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% for each product in ViewData.Model %>
<option value="<%=product%>"><%=product%></option>
<% next %>
</select>
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
<% myForm.dispose() %>
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Azure Store Products</title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(context.User.Identity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<%if context.User.IsInRole("Home") then %>
<h1><span class="product-category">Home</span> Products</h1>
<% else %>
<h1><span class="product-category">Enterprise</span> Products</h1>
<% end if %>
<label for="items">Select a product from the list:</label>
<%
dim product
dim myForm = Html.BeginForm("Add", "Home") %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% for each product in ViewData.Model %>
<option value="<%=product%>"><%=product%></option>
<% next %>
</select>
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
<% myForm.dispose() %>
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>

View file

@ -1,14 +1,14 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
}
else {
%>
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
}
%>
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
}
else {
%>
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
}
%>

View file

@ -1,66 +1,66 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(Request.LogonUserIdentity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(Request.LogonUserIdentity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>

View file

@ -1,34 +1,34 @@
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
</handlers>
</system.webServer>
</configuration>

View file

@ -1,205 +1,205 @@
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<!-- account configuration -->
<add key="BlobStorageEndpoint" value="http://127.0.0.1:10000"/>
<add key="TableStorageEndpoint" value="http://127.0.0.1:10002"/>
<add key="AccountName" value="devstoreaccount1"/>
<add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
<!-- provider configuration -->
<!-- When using the local development table storage service only the default values given
below will work for the tables (Membership, Roles and Sessions) since these are the names
of the properties on the DataServiceContext class -->
<add key="DefaultMembershipTableName" value="Membership"/>
<add key="DefaultRoleTableName" value="Roles"/>
<add key="DefaultSessionTableName" value="Sessions"/>
</appSettings>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
<!-- Membership Provider Configuration -->
<membership defaultProvider="TableStorageMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="TableStorageMembershipProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageMembershipProvider"
description="Membership provider using table storage"
applicationName="MVCAzureStore"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Hashed"/>
</providers>
</membership>
<!-- RoleManager Provider Configuration -->
<roleManager enabled="true"
defaultProvider="TableStorageRoleProvider"
cacheRolesInCookie="true"
cookieName=".ASPXROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add name="TableStorageRoleProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageRoleProvider"
description="Role provider using table storage"
applicationName="MVCAzureStore" />
</providers>
</roleManager>
<!-- SessionState Provider Configuration -->
<sessionState mode="Custom"
customProvider="TableStorageSessionStateProvider">
<providers>
<clear/>
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="MVCAzureStore" />
</providers>
</sessionState>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
<namespaces>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Linq"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Helpers" />
</namespaces>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web.extensions/>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<remove name="UrlRoutingModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="MvcHttpHandler"/>
<remove name="UrlRoutingHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<!-- account configuration -->
<add key="BlobStorageEndpoint" value="http://127.0.0.1:10000"/>
<add key="TableStorageEndpoint" value="http://127.0.0.1:10002"/>
<add key="AccountName" value="devstoreaccount1"/>
<add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
<!-- provider configuration -->
<!-- When using the local development table storage service only the default values given
below will work for the tables (Membership, Roles and Sessions) since these are the names
of the properties on the DataServiceContext class -->
<add key="DefaultMembershipTableName" value="Membership"/>
<add key="DefaultRoleTableName" value="Roles"/>
<add key="DefaultSessionTableName" value="Sessions"/>
</appSettings>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
<!-- Membership Provider Configuration -->
<membership defaultProvider="TableStorageMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="TableStorageMembershipProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageMembershipProvider"
description="Membership provider using table storage"
applicationName="MVCAzureStore"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Hashed"/>
</providers>
</membership>
<!-- RoleManager Provider Configuration -->
<roleManager enabled="true"
defaultProvider="TableStorageRoleProvider"
cacheRolesInCookie="true"
cookieName=".ASPXROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add name="TableStorageRoleProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageRoleProvider"
description="Role provider using table storage"
applicationName="MVCAzureStore" />
</providers>
</roleManager>
<!-- SessionState Provider Configuration -->
<sessionState mode="Custom"
customProvider="TableStorageSessionStateProvider">
<providers>
<clear/>
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="MVCAzureStore" />
</providers>
</sessionState>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
<namespaces>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Linq"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Helpers" />
</namespaces>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web.extensions/>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<remove name="UrlRoutingModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="MvcHttpHandler"/>
<remove name="UrlRoutingHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>
</system.webServer>
</configuration>

View file

@ -1,204 +1,204 @@
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Default.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Global.asax
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Web.config
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.xml
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\Site.css
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Web.config
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-button.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-left.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-right.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-input.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster-tile.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bullet.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\favicon.ico
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePassword.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\LogOn.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\Register.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\About.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Checkout.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Index.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Error.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Site.Master
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\ucruntime.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rd
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rdsc
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.csdef
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\ServiceConfiguration.cscfg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\ResolveAssemblyReference.cache
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.xml
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-button.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-left.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-right.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-input.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster-tile.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bullet.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\favicon.ico
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\Site.css
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Default.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Global.asax
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePassword.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\LogOn.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\Register.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\About.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Checkout.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Index.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Error.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Site.Master
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Web.config
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\ucruntime.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rd
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rdsc
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.csdef
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\ServiceConfiguration.cscfg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\ResolveAssemblyReference.cache
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\template.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\template.asp
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Default.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Global.asax
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Web.config
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.xml
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\Site.css
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Web.config
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-button.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-left.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-right.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-input.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster-tile.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bullet.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\favicon.ico
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePassword.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\LogOn.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\Register.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\About.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Checkout.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Index.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Error.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Site.Master
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\ucruntime.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rd
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rdsc
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.csdef
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\bin\Debug\ServiceConfiguration.cscfg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\ResolveAssemblyReference.cache
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.dll
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.pdb
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.xml
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-button.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-left.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-right.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-input.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster-tile.jpg
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bullet.png
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\favicon.ico
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Content\Site.css
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Default.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Global.asax
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePassword.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\LogOn.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\Register.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\About.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Checkout.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Index.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Error.aspx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Site.Master
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Views\Web.config
G:\TrainingKits\WindowsAzurePlatformKit\Labs\BuildingMVCAppsWithWindowsAzure\Ex1-UsingAzureProviders\End\AzureStoreService\obj\Debug\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\ucruntime.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rd
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.rdsc
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\ServiceDefinition.csdef
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\ServiceConfiguration.cscfg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\ResolveAssemblyReference.cache
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Debug\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\template.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Debug\MVCAzureStore\Views\Shared\template.asp

File diff suppressed because one or more lines are too long

View file

@ -1,337 +1,337 @@
//!----------------------------------------------------------
//! Copyright (C) Microsoft Corporation. All rights reserved.
//!----------------------------------------------------------
//! MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------
//!----------------------------------------------------------
//! Copyright (C) Microsoft Corporation. All rights reserved.
//!----------------------------------------------------------
//! MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------

View file

@ -2,7 +2,7 @@
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------
// MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_AjaxOptions=function(){return {};}
Sys.Mvc.InsertionMode=function(){};Sys.Mvc.InsertionMode.prototype = {replace:0,insertBefore:1,insertAfter:2}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode',false);Sys.Mvc.AjaxContext=function(request,updateTarget,loadingElement,insertionMode){this.$3=request;this.$4=updateTarget;this.$1=loadingElement;this.$0=insertionMode;}

File diff suppressed because one or more lines are too long

View file

@ -1,81 +1,81 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Azure Store Products</title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(context.User.Identity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<%if context.User.IsInRole("Home") then %>
<h1><span class="product-category">Home</span> Products</h1>
<% else %>
<h1><span class="product-category">Enterprise</span> Products</h1>
<% end if %>
<label for="items">Select a product from the list:</label>
<% dim myForm
dim product
myForm = Html.BeginForm("Add", "Home") %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% for each product in ViewData.Model %>
<option value="<%=product%>"><%=product%></option>
<% next %>
</select>
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
<% myForm.dispose() %>
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Azure Store Products</title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(context.User.Identity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<%if context.User.IsInRole("Home") then %>
<h1><span class="product-category">Home</span> Products</h1>
<% else %>
<h1><span class="product-category">Enterprise</span> Products</h1>
<% end if %>
<label for="items">Select a product from the list:</label>
<% dim myForm
dim product
myForm = Html.BeginForm("Add", "Home") %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% for each product in ViewData.Model %>
<option value="<%=product%>"><%=product%></option>
<% next %>
</select>
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
<% myForm.dispose() %>
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>

View file

@ -1,14 +1,14 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
}
else {
%>
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
}
%>
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
}
else {
%>
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
}
%>

View file

@ -1,66 +1,66 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(Request.LogonUserIdentity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(Request.LogonUserIdentity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>

View file

@ -1,34 +1,34 @@
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
</handlers>
</system.webServer>
</configuration>

View file

@ -1,205 +1,205 @@
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<!-- account configuration -->
<add key="BlobStorageEndpoint" value="http://127.0.0.1:10000"/>
<add key="TableStorageEndpoint" value="http://127.0.0.1:10002"/>
<add key="AccountName" value="devstoreaccount1"/>
<add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
<!-- provider configuration -->
<!-- When using the local development table storage service only the default values given
below will work for the tables (Membership, Roles and Sessions) since these are the names
of the properties on the DataServiceContext class -->
<add key="DefaultMembershipTableName" value="Membership"/>
<add key="DefaultRoleTableName" value="Roles"/>
<add key="DefaultSessionTableName" value="Sessions"/>
</appSettings>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
<!-- Membership Provider Configuration -->
<membership defaultProvider="TableStorageMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="TableStorageMembershipProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageMembershipProvider"
description="Membership provider using table storage"
applicationName="MVCAzureStore"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Hashed"/>
</providers>
</membership>
<!-- RoleManager Provider Configuration -->
<roleManager enabled="true"
defaultProvider="TableStorageRoleProvider"
cacheRolesInCookie="true"
cookieName=".ASPXROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add name="TableStorageRoleProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageRoleProvider"
description="Role provider using table storage"
applicationName="MVCAzureStore" />
</providers>
</roleManager>
<!-- SessionState Provider Configuration -->
<sessionState mode="Custom"
customProvider="TableStorageSessionStateProvider">
<providers>
<clear/>
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="MVCAzureStore" />
</providers>
</sessionState>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
<namespaces>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Linq"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Helpers" />
</namespaces>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web.extensions/>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<remove name="UrlRoutingModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="MvcHttpHandler"/>
<remove name="UrlRoutingHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<!-- account configuration -->
<add key="BlobStorageEndpoint" value="http://127.0.0.1:10000"/>
<add key="TableStorageEndpoint" value="http://127.0.0.1:10002"/>
<add key="AccountName" value="devstoreaccount1"/>
<add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
<!-- provider configuration -->
<!-- When using the local development table storage service only the default values given
below will work for the tables (Membership, Roles and Sessions) since these are the names
of the properties on the DataServiceContext class -->
<add key="DefaultMembershipTableName" value="Membership"/>
<add key="DefaultRoleTableName" value="Roles"/>
<add key="DefaultSessionTableName" value="Sessions"/>
</appSettings>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
<!-- Membership Provider Configuration -->
<membership defaultProvider="TableStorageMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="TableStorageMembershipProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageMembershipProvider"
description="Membership provider using table storage"
applicationName="MVCAzureStore"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Hashed"/>
</providers>
</membership>
<!-- RoleManager Provider Configuration -->
<roleManager enabled="true"
defaultProvider="TableStorageRoleProvider"
cacheRolesInCookie="true"
cookieName=".ASPXROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add name="TableStorageRoleProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageRoleProvider"
description="Role provider using table storage"
applicationName="MVCAzureStore" />
</providers>
</roleManager>
<!-- SessionState Provider Configuration -->
<sessionState mode="Custom"
customProvider="TableStorageSessionStateProvider">
<providers>
<clear/>
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="MVCAzureStore" />
</providers>
</sessionState>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
<namespaces>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Linq"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Helpers" />
</namespaces>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web.extensions/>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<remove name="UrlRoutingModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="MvcHttpHandler"/>
<remove name="UrlRoutingHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>
</system.webServer>
</configuration>

View file

@ -1,122 +1,122 @@
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\template.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\ucruntime.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\ServiceDefinition.rd
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\ServiceDefinition.rdsc
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\ServiceDefinition.csdef
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\ServiceConfiguration.cscfg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\ResolveAssemblyReference.cache
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\template.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\Views\Shared\template.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\roles\MVCAzureStore\bin\ucruntime.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\ServiceDefinition.rd
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\ServiceDefinition.rdsc
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\AzureStoreService.csx\ServiceDefinition.csdef
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\bin\Release\ServiceConfiguration.cscfg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\ResolveAssemblyReference.cache
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\AspProviders.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\AspProviders.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.Asp.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.Asp.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBParser.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBParser.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBParser.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBScript.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Dlrsoft.VBScript.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Interop.ASPTypeLibrary.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Dynamic.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Dynamic.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Dynamic.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.Core.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.Core.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.Core.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.ExtensionAttribute.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\Microsoft.Scripting.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\MVCAzureStore.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\MVCAzureStore.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\StorageClient.dll
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\StorageClient.pdb
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\bin\StorageClient.xml
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-button.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-column-left.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-column-right.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-input.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-poster.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bg-poster-tile.jpg
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\bullet.png
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\images\favicon.ico
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Content\Site.css
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Default.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Global.asax
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2.min.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2.min-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\jquery-1.3.2-vsdoc.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftMvcAjax.debug.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Scripts\MicrosoftMvcAjax.js
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\ChangePassword.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\ChangePasswordSuccess.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\LogOn.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Account\Register.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Home\About.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Home\Checkout.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Home\Index.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\Error.aspx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\LogOnUserControl.ascx
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\Site.Master
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Shared\template.asp
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Views\Web.config
F:\projects\dotnet35\VBParser80\AzureStoreAsp\AzureStoreService\obj\Release\MVCAzureStore\Web.config

File diff suppressed because one or more lines are too long

View file

@ -1,337 +1,337 @@
//!----------------------------------------------------------
//! Copyright (C) Microsoft Corporation. All rights reserved.
//!----------------------------------------------------------
//! MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------
//!----------------------------------------------------------
//! Copyright (C) Microsoft Corporation. All rights reserved.
//!----------------------------------------------------------
//! MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------

View file

@ -2,7 +2,7 @@
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------
// MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_AjaxOptions=function(){return {};}
Sys.Mvc.InsertionMode=function(){};Sys.Mvc.InsertionMode.prototype = {replace:0,insertBefore:1,insertAfter:2}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode',false);Sys.Mvc.AjaxContext=function(request,updateTarget,loadingElement,insertionMode){this.$3=request;this.$4=updateTarget;this.$1=loadingElement;this.$0=insertionMode;}

File diff suppressed because one or more lines are too long

View file

@ -1,81 +1,81 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Azure Store Products</title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(context.User.Identity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<%if context.User.IsInRole("Home") then %>
<h1><span class="product-category">Home</span> Products</h1>
<% else %>
<h1><span class="product-category">Enterprise</span> Products</h1>
<% end if %>
<label for="items">Select a product from the list:</label>
<%
dim product
dim myForm = Html.BeginForm("Add", "Home") %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% for each product in ViewData.Model %>
<option value="<%=product%>"><%=product%></option>
<% next %>
</select>
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
<% myForm.dispose() %>
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Azure Store Products</title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(context.User.Identity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<%if context.User.IsInRole("Home") then %>
<h1><span class="product-category">Home</span> Products</h1>
<% else %>
<h1><span class="product-category">Enterprise</span> Products</h1>
<% end if %>
<label for="items">Select a product from the list:</label>
<%
dim product
dim myForm = Html.BeginForm("Add", "Home") %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% for each product in ViewData.Model %>
<option value="<%=product%>"><%=product%></option>
<% next %>
</select>
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
<% myForm.dispose() %>
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>

View file

@ -1,14 +1,14 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
}
else {
%>
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
}
%>
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
}
else {
%>
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
}
%>

View file

@ -1,66 +1,66 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(Request.LogonUserIdentity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<link rel="shortcut icon" href="../../Content/images/favicon.ico" />
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header-container">
<div class="nav-login">
<ul>
<%if Request.IsAuthenticated then %>
<li class="first">User:<span class="identity"><%=Html.Encode(Request.LogonUserIdentity.Name)%></span></li>&nbsp;
<li><%= Html.ActionLink("Logout", "LogOff", "Account") %></li>
<% else %>
<li class="first"><%= Html.ActionLink("Register", "Register", "Account") %></li>
<%end if %>
</ul>
</div>
<div class="logo">Azure Store</div>
<div class="clear"></div>
</div>
<div class="poster-container-no-image">
<div class="poster-inner"> </div>
</div>
<div class="nav-main">
<ul>
<% if Html.IsCurrentAction("Index", "Home") then %>
<li class="first active">
<% else %>
<li class="first">
<% end if %>
<%=Html.ActionLink("Products", "Index", "Home")%>
</li>
<% if Html.IsCurrentAction("Checkout", "Home") then %>
<li class="active">
<% else %>
<li class="">
<% end if %>
<%=Html.ActionLink("Checkout", "Checkout", "Home")%>
</li>
</ul>
</div>
<div class="content-container">
<div class="content-container-inner">
<div class="content-main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div class="clear" />
</div>
</div>
<div class="footer">
<div class="nav-footer">
<ul>
<li class="first"><%=Html.ActionLink("Products", "Index", "Home")%></li>
<li><%=Html.ActionLink("Checkout", "Checkout", "Home")%></li>
</ul>
<p class="copyright">Azure Store</p>
</div>
</div>
</body>
</html>

View file

@ -1,34 +1,34 @@
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
</handlers>
</system.webServer>
</configuration>

View file

@ -1,205 +1,205 @@
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<!-- account configuration -->
<add key="BlobStorageEndpoint" value="http://127.0.0.1:10000"/>
<add key="TableStorageEndpoint" value="http://127.0.0.1:10002"/>
<add key="AccountName" value="devstoreaccount1"/>
<add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
<!-- provider configuration -->
<!-- When using the local development table storage service only the default values given
below will work for the tables (Membership, Roles and Sessions) since these are the names
of the properties on the DataServiceContext class -->
<add key="DefaultMembershipTableName" value="Membership"/>
<add key="DefaultRoleTableName" value="Roles"/>
<add key="DefaultSessionTableName" value="Sessions"/>
</appSettings>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
<!-- Membership Provider Configuration -->
<membership defaultProvider="TableStorageMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="TableStorageMembershipProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageMembershipProvider"
description="Membership provider using table storage"
applicationName="MVCAzureStore"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Hashed"/>
</providers>
</membership>
<!-- RoleManager Provider Configuration -->
<roleManager enabled="true"
defaultProvider="TableStorageRoleProvider"
cacheRolesInCookie="true"
cookieName=".ASPXROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add name="TableStorageRoleProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageRoleProvider"
description="Role provider using table storage"
applicationName="MVCAzureStore" />
</providers>
</roleManager>
<!-- SessionState Provider Configuration -->
<sessionState mode="Custom"
customProvider="TableStorageSessionStateProvider">
<providers>
<clear/>
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="MVCAzureStore" />
</providers>
</sessionState>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
<namespaces>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Linq"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Helpers" />
</namespaces>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web.extensions/>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<remove name="UrlRoutingModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="MvcHttpHandler"/>
<remove name="UrlRoutingHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<!-- account configuration -->
<add key="BlobStorageEndpoint" value="http://127.0.0.1:10000"/>
<add key="TableStorageEndpoint" value="http://127.0.0.1:10002"/>
<add key="AccountName" value="devstoreaccount1"/>
<add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
<!-- provider configuration -->
<!-- When using the local development table storage service only the default values given
below will work for the tables (Membership, Roles and Sessions) since these are the names
of the properties on the DataServiceContext class -->
<add key="DefaultMembershipTableName" value="Membership"/>
<add key="DefaultRoleTableName" value="Roles"/>
<add key="DefaultSessionTableName" value="Sessions"/>
</appSettings>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
<!-- Membership Provider Configuration -->
<membership defaultProvider="TableStorageMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="TableStorageMembershipProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageMembershipProvider"
description="Membership provider using table storage"
applicationName="MVCAzureStore"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Hashed"/>
</providers>
</membership>
<!-- RoleManager Provider Configuration -->
<roleManager enabled="true"
defaultProvider="TableStorageRoleProvider"
cacheRolesInCookie="true"
cookieName=".ASPXROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add name="TableStorageRoleProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageRoleProvider"
description="Role provider using table storage"
applicationName="MVCAzureStore" />
</providers>
</roleManager>
<!-- SessionState Provider Configuration -->
<sessionState mode="Custom"
customProvider="TableStorageSessionStateProvider">
<providers>
<clear/>
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="MVCAzureStore" />
</providers>
</sessionState>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
<namespaces>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Linq"/>
<add namespace="System.Collections.Generic"/>
<add namespace="Helpers" />
</namespaces>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web.extensions/>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<remove name="UrlRoutingModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="MvcHttpHandler"/>
<remove name="UrlRoutingHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>
</system.webServer>
</configuration>

View file

@ -1,2 +1,2 @@
BEFORE YOU RUN THIS APPLICATION
• Ensure that the start up project is set to AzureStoreService
BEFORE YOU RUN THIS APPLICATION
• Ensure that the start up project is set to AzureStoreService

View file

@ -1,14 +1,14 @@
ASP Classic Compiler
Copyright 2009-2011 Li Chen
THIRD-PARTY CREDITS AND COPYRIGHT NOTICES GO HERE
MvcContrib includes or is derivative of works distributed under the licenses listed below. The full text for most of the licenses listed below can be found in the LICENSE.txt file accompanying each work. The original copyright notices have been preserved within the respective files and or packages. Please refer to the specific files and/or packages for more detailed information about the authors, copyright notices, and licenses.
3rd Party Libraries
VBParser
-----------------
Website: http://www.panopticoncentral.net/archive/2006/03/27/11531.aspx
Copyright: (c) 2006 Paul Vick
License: Shared Source License
ASP Classic Compiler
Copyright 2009-2011 Li Chen
THIRD-PARTY CREDITS AND COPYRIGHT NOTICES GO HERE
MvcContrib includes or is derivative of works distributed under the licenses listed below. The full text for most of the licenses listed below can be found in the LICENSE.txt file accompanying each work. The original copyright notices have been preserved within the respective files and or packages. Please refer to the specific files and/or packages for more detailed information about the authors, copyright notices, and licenses.
3rd Party Libraries
VBParser
-----------------
Website: http://www.panopticoncentral.net/archive/2006/03/27/11531.aspx
Copyright: (c) 2006 Paul Vick
License: Shared Source License

View file

@ -1,71 +1,71 @@
http://www.codeplex.com/ASPClassicCompiler/license
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License.
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License.
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution.
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions.
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks.
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty.
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability.
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability.
http://www.codeplex.com/ASPClassicCompiler/license
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License.
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License.
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution.
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions.
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks.
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty.
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability.
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability.
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

View file

@ -1,4 +1,4 @@
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="NerdDinnerConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\NerdDinner.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="NerdDinnerConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\NerdDinner.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>

View file

@ -1,378 +1,378 @@
/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
background-color: #5c87b2;
font-size: .75em;
font-family: Verdana, Helvetica, Sans-Serif;
margin: 0;
padding: 0;
color: #696969;
}
a:link
{
color: #034af3;
text-decoration: underline;
}
a:visited
{
color: #505abc;
}
a:hover
{
color: #1d60ff;
text-decoration: none;
}
a:active
{
color: #12eb87;
}
p, ul
{
margin-bottom: 20px;
line-height: 1.6em;
}
/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
font-size: 1.5em;
color: #000;
font-family: Arial, Helvetica, sans-serif;
}
h1
{
font-size: 2em;
padding-bottom: 0;
margin-bottom: 0;
}
h2
{
padding: 0 0 10px 0;
}
h3
{
font-size: 1.2em;
}
h4
{
font-size: 1.1em;
}
h5, h6
{
font-size: 1em;
}
/* this rule styles <h2> tags that are the
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
margin-top: 0;
}
/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/
/* you can specify a greater or lesser percentage for the
page width. Or, you can specify an exact pixel width. */
.page
{
width: 90%;
margin-left: auto;
margin-right: auto;
}
#header
{
position: relative;
margin-bottom: 0px;
color: #000;
padding: 0;
}
#header h1
{
font-weight: bold;
padding: 5px 0;
margin: 0;
color: #fff;
border: none;
line-height: 2em;
font-family: Arial, Helvetica, sans-serif;
font-size: 32px !important;
}
#main
{
padding: 30px 30px 15px 30px;
background-color: #fff;
margin-bottom: 30px;
_height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
height: 590px;
}
#footer
{
color: #999;
padding: 10px 0;
text-align: center;
line-height: normal;
margin: 0;
font-size: .9em;
}
/* TAB MENU
----------------------------------------------------------*/
ul#menu
{
border-bottom: 1px #5C87B2 solid;
padding: 0 0 2px;
position: relative;
margin: 0;
text-align: right;
}
ul#menu li
{
display: inline;
list-style: none;
}
ul#menu li#greeting
{
padding: 10px 20px;
font-weight: bold;
text-decoration: none;
line-height: 2.8em;
color: #fff;
}
ul#menu li a
{
padding: 10px 20px;
font-weight: bold;
text-decoration: none;
line-height: 2.8em;
background-color: #e8eef4;
color: #034af3;
}
ul#menu li a:hover
{
background-color: #fff;
text-decoration: none;
}
ul#menu li a:active
{
background-color: #a6e2a6;
text-decoration: none;
}
ul#menu li.selected a
{
background-color: #fff;
color: #000;
}
/* FORM LAYOUT ELEMENTS
----------------------------------------------------------*/
fieldset
{
margin: 1em 0;
padding: 1em;
border: 1px solid #CCC;
}
fieldset p
{
margin: 2px 12px 10px 10px;
}
fieldset label
{
display: block;
}
fieldset label.inline
{
display: inline;
}
legend
{
font-size: 1.1em;
font-weight: 600;
padding: 2px 4px 8px 4px;
}
input[type="text"]
{
width: 200px;
border: 1px solid #CCC;
}
input[type="password"]
{
width: 200px;
border: 1px solid #CCC;
}
/* TABLE
----------------------------------------------------------*/
table
{
border: solid 1px #e8eef4;
border-collapse: collapse;
}
table td
{
padding: 5px;
border: solid 1px #e8eef4;
}
table th
{
padding: 6px 5px;
text-align: left;
background-color: #e8eef4;
border: solid 1px #e8eef4;
}
/* MISC
----------------------------------------------------------*/
.clear
{
clear: both;
}
.error
{
color:Red;
}
#menucontainer
{
margin-top:40px;
}
div#title
{
display:block;
float:left;
text-align:left;
}
#logindisplay
{
font-size:1.1em;
display:block;
text-align:right;
margin:10px;
color:White;
}
#logindisplay a:link
{
color: white;
text-decoration: underline;
}
#logindisplay a:visited
{
color: white;
text-decoration: underline;
}
#logindisplay a:hover
{
color: white;
text-decoration: none;
}
.field-validation-error
{
color: #ff0000;
}
.input-validation-error
{
border: 1px solid #ff0000;
background-color: #ffeeee;
}
.validation-summary-errors
{
font-weight: bold;
color: #ff0000;
}
#dinnerform textarea
{
width:200px;
height:70px;
}
#dinnerDiv textarea
{
width:200px;
height:70px;
}
#rsvpmsg
{
color:Red;
}
hr
{
padding:0px, 10px, 0px, 10px;
height:1px;
}
#pagination
{
text-align:center;
}
#dinnerDiv {
float: left;
width: 280px;
}
#mapDiv {
float: left;
}
#mapDivLeft {
float: left;
}
#mapDivRight {
padding: 30px 0px 0px 20px;
float: left;
}
#dinnerList {
padding:0px 0px 0px 0px;
}
#searchBox {
padding:0px 0px 10px 0px;
}
#theMap {
position: relative;
width: 500px;
height: 450px;
/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
background-color: #5c87b2;
font-size: .75em;
font-family: Verdana, Helvetica, Sans-Serif;
margin: 0;
padding: 0;
color: #696969;
}
a:link
{
color: #034af3;
text-decoration: underline;
}
a:visited
{
color: #505abc;
}
a:hover
{
color: #1d60ff;
text-decoration: none;
}
a:active
{
color: #12eb87;
}
p, ul
{
margin-bottom: 20px;
line-height: 1.6em;
}
/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
font-size: 1.5em;
color: #000;
font-family: Arial, Helvetica, sans-serif;
}
h1
{
font-size: 2em;
padding-bottom: 0;
margin-bottom: 0;
}
h2
{
padding: 0 0 10px 0;
}
h3
{
font-size: 1.2em;
}
h4
{
font-size: 1.1em;
}
h5, h6
{
font-size: 1em;
}
/* this rule styles <h2> tags that are the
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
margin-top: 0;
}
/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/
/* you can specify a greater or lesser percentage for the
page width. Or, you can specify an exact pixel width. */
.page
{
width: 90%;
margin-left: auto;
margin-right: auto;
}
#header
{
position: relative;
margin-bottom: 0px;
color: #000;
padding: 0;
}
#header h1
{
font-weight: bold;
padding: 5px 0;
margin: 0;
color: #fff;
border: none;
line-height: 2em;
font-family: Arial, Helvetica, sans-serif;
font-size: 32px !important;
}
#main
{
padding: 30px 30px 15px 30px;
background-color: #fff;
margin-bottom: 30px;
_height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
height: 590px;
}
#footer
{
color: #999;
padding: 10px 0;
text-align: center;
line-height: normal;
margin: 0;
font-size: .9em;
}
/* TAB MENU
----------------------------------------------------------*/
ul#menu
{
border-bottom: 1px #5C87B2 solid;
padding: 0 0 2px;
position: relative;
margin: 0;
text-align: right;
}
ul#menu li
{
display: inline;
list-style: none;
}
ul#menu li#greeting
{
padding: 10px 20px;
font-weight: bold;
text-decoration: none;
line-height: 2.8em;
color: #fff;
}
ul#menu li a
{
padding: 10px 20px;
font-weight: bold;
text-decoration: none;
line-height: 2.8em;
background-color: #e8eef4;
color: #034af3;
}
ul#menu li a:hover
{
background-color: #fff;
text-decoration: none;
}
ul#menu li a:active
{
background-color: #a6e2a6;
text-decoration: none;
}
ul#menu li.selected a
{
background-color: #fff;
color: #000;
}
/* FORM LAYOUT ELEMENTS
----------------------------------------------------------*/
fieldset
{
margin: 1em 0;
padding: 1em;
border: 1px solid #CCC;
}
fieldset p
{
margin: 2px 12px 10px 10px;
}
fieldset label
{
display: block;
}
fieldset label.inline
{
display: inline;
}
legend
{
font-size: 1.1em;
font-weight: 600;
padding: 2px 4px 8px 4px;
}
input[type="text"]
{
width: 200px;
border: 1px solid #CCC;
}
input[type="password"]
{
width: 200px;
border: 1px solid #CCC;
}
/* TABLE
----------------------------------------------------------*/
table
{
border: solid 1px #e8eef4;
border-collapse: collapse;
}
table td
{
padding: 5px;
border: solid 1px #e8eef4;
}
table th
{
padding: 6px 5px;
text-align: left;
background-color: #e8eef4;
border: solid 1px #e8eef4;
}
/* MISC
----------------------------------------------------------*/
.clear
{
clear: both;
}
.error
{
color:Red;
}
#menucontainer
{
margin-top:40px;
}
div#title
{
display:block;
float:left;
text-align:left;
}
#logindisplay
{
font-size:1.1em;
display:block;
text-align:right;
margin:10px;
color:White;
}
#logindisplay a:link
{
color: white;
text-decoration: underline;
}
#logindisplay a:visited
{
color: white;
text-decoration: underline;
}
#logindisplay a:hover
{
color: white;
text-decoration: none;
}
.field-validation-error
{
color: #ff0000;
}
.input-validation-error
{
border: 1px solid #ff0000;
background-color: #ffeeee;
}
.validation-summary-errors
{
font-weight: bold;
color: #ff0000;
}
#dinnerform textarea
{
width:200px;
height:70px;
}
#dinnerDiv textarea
{
width:200px;
height:70px;
}
#rsvpmsg
{
color:Red;
}
hr
{
padding:0px, 10px, 0px, 10px;
height:1px;
}
#pagination
{
text-align:center;
}
#dinnerDiv {
float: left;
width: 280px;
}
#mapDiv {
float: left;
}
#mapDivLeft {
float: left;
}
#mapDivRight {
padding: 30px 0px 0px 20px;
float: left;
}
#dinnerList {
padding:0px 0px 0px 0px;
}
#searchBox {
padding:0px 0px 10px 0px;
}
#theMap {
position: relative;
width: 500px;
height: 450px;
}

View file

@ -1,297 +1,297 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.Web.UI;
namespace NerdDinner.Controllers {
[HandleError]
public class AccountController : Controller {
// This constructor is used by the MVC framework to instantiate the controller using
// the default forms authentication and membership providers.
public AccountController()
: this(null, null) {
}
// This constructor is not used by the MVC framework but is instead provided for ease
// of unit testing this type. See the comments at the end of this file for more
// information.
public AccountController(IFormsAuthentication formsAuth, IMembershipService service) {
FormsAuth = formsAuth ?? new FormsAuthenticationService();
MembershipService = service ?? new AccountMembershipService();
}
public IFormsAuthentication FormsAuth {
get;
private set;
}
public IMembershipService MembershipService {
get;
private set;
}
public ActionResult LogOn() {
return View();
}
[AcceptVerbs(HttpVerbs.Post)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings",
Justification = "Needs to take same parameter type as Controller.Redirect()")]
public ActionResult LogOn(string userName, string password, bool rememberMe, string returnUrl) {
if (!ValidateLogOn(userName, password)) {
ViewData["rememberMe"] = rememberMe;
return View();
}
FormsAuth.SignIn(userName, rememberMe);
if (!String.IsNullOrEmpty(returnUrl)) {
return Redirect(returnUrl);
}
else {
return RedirectToAction("Index", "Home");
}
}
public ActionResult LogOff() {
FormsAuth.SignOut();
return RedirectToAction("Index", "Home");
}
public ActionResult Register() {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
return View();
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Register(string userName, string email, string password, string confirmPassword) {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
if (ValidateRegistration(userName, email, password, confirmPassword)) {
// Attempt to register the user
MembershipCreateStatus createStatus = MembershipService.CreateUser(userName, password, email);
if (createStatus == MembershipCreateStatus.Success) {
FormsAuth.SignIn(userName, false /* createPersistentCookie */);
return RedirectToAction("Index", "Home");
}
else {
ModelState.AddModelError("_FORM", ErrorCodeToString(createStatus));
}
}
// If we got this far, something failed, redisplay form
return View();
}
[Authorize]
public ActionResult ChangePassword() {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
return View();
}
[Authorize]
[AcceptVerbs(HttpVerbs.Post)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
Justification = "Exceptions result in password not being changed.")]
public ActionResult ChangePassword(string currentPassword, string newPassword, string confirmPassword) {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
if (!ValidateChangePassword(currentPassword, newPassword, confirmPassword)) {
return View();
}
try {
if (MembershipService.ChangePassword(User.Identity.Name, currentPassword, newPassword)) {
return RedirectToAction("ChangePasswordSuccess");
}
else {
ModelState.AddModelError("_FORM", "The current password is incorrect or the new password is invalid.");
return View();
}
}
catch {
ModelState.AddModelError("_FORM", "The current password is incorrect or the new password is invalid.");
return View();
}
}
public ActionResult ChangePasswordSuccess() {
return View();
}
protected override void OnActionExecuting(ActionExecutingContext filterContext) {
if (filterContext.HttpContext.User.Identity is WindowsIdentity) {
throw new InvalidOperationException("Windows authentication is not supported.");
}
}
#region Validation Methods
private bool ValidateChangePassword(string currentPassword, string newPassword, string confirmPassword) {
if (String.IsNullOrEmpty(currentPassword)) {
ModelState.AddModelError("currentPassword", "You must specify a current password.");
}
if (newPassword == null || newPassword.Length < MembershipService.MinPasswordLength) {
ModelState.AddModelError("newPassword",
String.Format(CultureInfo.CurrentCulture,
"You must specify a new password of {0} or more characters.",
MembershipService.MinPasswordLength));
}
if (!String.Equals(newPassword, confirmPassword, StringComparison.Ordinal)) {
ModelState.AddModelError("_FORM", "The new password and confirmation password do not match.");
}
return ModelState.IsValid;
}
private bool ValidateLogOn(string userName, string password) {
if (String.IsNullOrEmpty(userName)) {
ModelState.AddModelError("username", "You must specify a username.");
}
if (String.IsNullOrEmpty(password)) {
ModelState.AddModelError("password", "You must specify a password.");
}
if (!MembershipService.ValidateUser(userName, password)) {
ModelState.AddModelError("_FORM", "The username or password provided is incorrect.");
}
return ModelState.IsValid;
}
private bool ValidateRegistration(string userName, string email, string password, string confirmPassword) {
if (String.IsNullOrEmpty(userName)) {
ModelState.AddModelError("username", "You must specify a username.");
}
if (String.IsNullOrEmpty(email)) {
ModelState.AddModelError("email", "You must specify an email address.");
}
if (password == null || password.Length < MembershipService.MinPasswordLength) {
ModelState.AddModelError("password",
String.Format(CultureInfo.CurrentCulture,
"You must specify a password of {0} or more characters.",
MembershipService.MinPasswordLength));
}
if (!String.Equals(password, confirmPassword, StringComparison.Ordinal)) {
ModelState.AddModelError("_FORM", "The new password and confirmation password do not match.");
}
return ModelState.IsValid;
}
private static string ErrorCodeToString(MembershipCreateStatus createStatus) {
// See http://msdn.microsoft.com/en-us/library/system.web.security.membershipcreatestatus.aspx for
// a full list of status codes.
switch (createStatus) {
case MembershipCreateStatus.DuplicateUserName:
return "Username already exists. Please enter a different user name.";
case MembershipCreateStatus.DuplicateEmail:
return "A username for that e-mail address already exists. Please enter a different e-mail address.";
case MembershipCreateStatus.InvalidPassword:
return "The password provided is invalid. Please enter a valid password value.";
case MembershipCreateStatus.InvalidEmail:
return "The e-mail address provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.InvalidAnswer:
return "The password retrieval answer provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.InvalidQuestion:
return "The password retrieval question provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.InvalidUserName:
return "The user name provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.ProviderError:
return "The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
case MembershipCreateStatus.UserRejected:
return "The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
default:
return "An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
}
}
#endregion
}
// The FormsAuthentication type is sealed and contains static members, so it is difficult to
// unit test code that calls its members. The interface and helper class below demonstrate
// how to create an abstract wrapper around such a type in order to make the AccountController
// code unit testable.
public interface IFormsAuthentication {
void SignIn(string userName, bool createPersistentCookie);
void SignOut();
}
public class FormsAuthenticationService : IFormsAuthentication {
public void SignIn(string userName, bool createPersistentCookie) {
FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
}
public void SignOut() {
FormsAuthentication.SignOut();
}
}
public interface IMembershipService {
int MinPasswordLength { get; }
bool ValidateUser(string userName, string password);
MembershipCreateStatus CreateUser(string userName, string password, string email);
bool ChangePassword(string userName, string oldPassword, string newPassword);
}
public class AccountMembershipService : IMembershipService {
private MembershipProvider _provider;
public AccountMembershipService()
: this(null) {
}
public AccountMembershipService(MembershipProvider provider) {
_provider = provider ?? Membership.Provider;
}
public int MinPasswordLength {
get {
return _provider.MinRequiredPasswordLength;
}
}
public bool ValidateUser(string userName, string password) {
return _provider.ValidateUser(userName, password);
}
public MembershipCreateStatus CreateUser(string userName, string password, string email) {
MembershipCreateStatus status;
_provider.CreateUser(userName, password, email, null, null, true, null, out status);
return status;
}
public bool ChangePassword(string userName, string oldPassword, string newPassword) {
MembershipUser currentUser = _provider.GetUser(userName, true /* userIsOnline */);
return currentUser.ChangePassword(oldPassword, newPassword);
}
}
}
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.Web.UI;
namespace NerdDinner.Controllers {
[HandleError]
public class AccountController : Controller {
// This constructor is used by the MVC framework to instantiate the controller using
// the default forms authentication and membership providers.
public AccountController()
: this(null, null) {
}
// This constructor is not used by the MVC framework but is instead provided for ease
// of unit testing this type. See the comments at the end of this file for more
// information.
public AccountController(IFormsAuthentication formsAuth, IMembershipService service) {
FormsAuth = formsAuth ?? new FormsAuthenticationService();
MembershipService = service ?? new AccountMembershipService();
}
public IFormsAuthentication FormsAuth {
get;
private set;
}
public IMembershipService MembershipService {
get;
private set;
}
public ActionResult LogOn() {
return View();
}
[AcceptVerbs(HttpVerbs.Post)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings",
Justification = "Needs to take same parameter type as Controller.Redirect()")]
public ActionResult LogOn(string userName, string password, bool rememberMe, string returnUrl) {
if (!ValidateLogOn(userName, password)) {
ViewData["rememberMe"] = rememberMe;
return View();
}
FormsAuth.SignIn(userName, rememberMe);
if (!String.IsNullOrEmpty(returnUrl)) {
return Redirect(returnUrl);
}
else {
return RedirectToAction("Index", "Home");
}
}
public ActionResult LogOff() {
FormsAuth.SignOut();
return RedirectToAction("Index", "Home");
}
public ActionResult Register() {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
return View();
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Register(string userName, string email, string password, string confirmPassword) {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
if (ValidateRegistration(userName, email, password, confirmPassword)) {
// Attempt to register the user
MembershipCreateStatus createStatus = MembershipService.CreateUser(userName, password, email);
if (createStatus == MembershipCreateStatus.Success) {
FormsAuth.SignIn(userName, false /* createPersistentCookie */);
return RedirectToAction("Index", "Home");
}
else {
ModelState.AddModelError("_FORM", ErrorCodeToString(createStatus));
}
}
// If we got this far, something failed, redisplay form
return View();
}
[Authorize]
public ActionResult ChangePassword() {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
return View();
}
[Authorize]
[AcceptVerbs(HttpVerbs.Post)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
Justification = "Exceptions result in password not being changed.")]
public ActionResult ChangePassword(string currentPassword, string newPassword, string confirmPassword) {
ViewData["PasswordLength"] = MembershipService.MinPasswordLength;
if (!ValidateChangePassword(currentPassword, newPassword, confirmPassword)) {
return View();
}
try {
if (MembershipService.ChangePassword(User.Identity.Name, currentPassword, newPassword)) {
return RedirectToAction("ChangePasswordSuccess");
}
else {
ModelState.AddModelError("_FORM", "The current password is incorrect or the new password is invalid.");
return View();
}
}
catch {
ModelState.AddModelError("_FORM", "The current password is incorrect or the new password is invalid.");
return View();
}
}
public ActionResult ChangePasswordSuccess() {
return View();
}
protected override void OnActionExecuting(ActionExecutingContext filterContext) {
if (filterContext.HttpContext.User.Identity is WindowsIdentity) {
throw new InvalidOperationException("Windows authentication is not supported.");
}
}
#region Validation Methods
private bool ValidateChangePassword(string currentPassword, string newPassword, string confirmPassword) {
if (String.IsNullOrEmpty(currentPassword)) {
ModelState.AddModelError("currentPassword", "You must specify a current password.");
}
if (newPassword == null || newPassword.Length < MembershipService.MinPasswordLength) {
ModelState.AddModelError("newPassword",
String.Format(CultureInfo.CurrentCulture,
"You must specify a new password of {0} or more characters.",
MembershipService.MinPasswordLength));
}
if (!String.Equals(newPassword, confirmPassword, StringComparison.Ordinal)) {
ModelState.AddModelError("_FORM", "The new password and confirmation password do not match.");
}
return ModelState.IsValid;
}
private bool ValidateLogOn(string userName, string password) {
if (String.IsNullOrEmpty(userName)) {
ModelState.AddModelError("username", "You must specify a username.");
}
if (String.IsNullOrEmpty(password)) {
ModelState.AddModelError("password", "You must specify a password.");
}
if (!MembershipService.ValidateUser(userName, password)) {
ModelState.AddModelError("_FORM", "The username or password provided is incorrect.");
}
return ModelState.IsValid;
}
private bool ValidateRegistration(string userName, string email, string password, string confirmPassword) {
if (String.IsNullOrEmpty(userName)) {
ModelState.AddModelError("username", "You must specify a username.");
}
if (String.IsNullOrEmpty(email)) {
ModelState.AddModelError("email", "You must specify an email address.");
}
if (password == null || password.Length < MembershipService.MinPasswordLength) {
ModelState.AddModelError("password",
String.Format(CultureInfo.CurrentCulture,
"You must specify a password of {0} or more characters.",
MembershipService.MinPasswordLength));
}
if (!String.Equals(password, confirmPassword, StringComparison.Ordinal)) {
ModelState.AddModelError("_FORM", "The new password and confirmation password do not match.");
}
return ModelState.IsValid;
}
private static string ErrorCodeToString(MembershipCreateStatus createStatus) {
// See http://msdn.microsoft.com/en-us/library/system.web.security.membershipcreatestatus.aspx for
// a full list of status codes.
switch (createStatus) {
case MembershipCreateStatus.DuplicateUserName:
return "Username already exists. Please enter a different user name.";
case MembershipCreateStatus.DuplicateEmail:
return "A username for that e-mail address already exists. Please enter a different e-mail address.";
case MembershipCreateStatus.InvalidPassword:
return "The password provided is invalid. Please enter a valid password value.";
case MembershipCreateStatus.InvalidEmail:
return "The e-mail address provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.InvalidAnswer:
return "The password retrieval answer provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.InvalidQuestion:
return "The password retrieval question provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.InvalidUserName:
return "The user name provided is invalid. Please check the value and try again.";
case MembershipCreateStatus.ProviderError:
return "The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
case MembershipCreateStatus.UserRejected:
return "The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
default:
return "An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
}
}
#endregion
}
// The FormsAuthentication type is sealed and contains static members, so it is difficult to
// unit test code that calls its members. The interface and helper class below demonstrate
// how to create an abstract wrapper around such a type in order to make the AccountController
// code unit testable.
public interface IFormsAuthentication {
void SignIn(string userName, bool createPersistentCookie);
void SignOut();
}
public class FormsAuthenticationService : IFormsAuthentication {
public void SignIn(string userName, bool createPersistentCookie) {
FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
}
public void SignOut() {
FormsAuthentication.SignOut();
}
}
public interface IMembershipService {
int MinPasswordLength { get; }
bool ValidateUser(string userName, string password);
MembershipCreateStatus CreateUser(string userName, string password, string email);
bool ChangePassword(string userName, string oldPassword, string newPassword);
}
public class AccountMembershipService : IMembershipService {
private MembershipProvider _provider;
public AccountMembershipService()
: this(null) {
}
public AccountMembershipService(MembershipProvider provider) {
_provider = provider ?? Membership.Provider;
}
public int MinPasswordLength {
get {
return _provider.MinRequiredPasswordLength;
}
}
public bool ValidateUser(string userName, string password) {
return _provider.ValidateUser(userName, password);
}
public MembershipCreateStatus CreateUser(string userName, string password, string email) {
MembershipCreateStatus status;
_provider.CreateUser(userName, password, email, null, null, true, null, out status);
return status;
}
public bool ChangePassword(string userName, string oldPassword, string newPassword) {
MembershipUser currentUser = _provider.GetUser(userName, true /* userIsOnline */);
return currentUser.ChangePassword(oldPassword, newPassword);
}
}
}

View file

@ -1,189 +1,189 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using NerdDinner.Helpers;
using NerdDinner.Models;
namespace NerdDinner.Controllers {
//
// ViewModel Classes
public class DinnerFormViewModel {
// Properties
public Dinner Dinner { get; private set; }
public SelectList Countries { get; private set; }
// Constructor
public DinnerFormViewModel(Dinner dinner) {
Dinner = dinner;
Countries = new SelectList(PhoneValidator.Countries, Dinner.Country);
}
}
//
// Controller Class
[HandleError]
public class DinnersController : Controller {
IDinnerRepository dinnerRepository;
//
// Dependency Injection enabled constructors
public DinnersController()
: this(new DinnerRepository()) {
}
public DinnersController(IDinnerRepository repository) {
dinnerRepository = repository;
}
//
// GET: /Dinners/
// /Dinners/Page/2
public ActionResult Index(int? page) {
const int pageSize = 10;
var upcomingDinners = dinnerRepository.FindUpcomingDinners();
var paginatedDinners = new PaginatedList<Dinner>(upcomingDinners, page ?? 0, pageSize);
return View(paginatedDinners);
}
//
// GET: /Dinners/Details/5
public ActionResult Details(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
return View(dinner);
}
//
// GET: /Dinners/Edit/5
[Authorize]
public ActionResult Edit(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
return View(new DinnerFormViewModel(dinner));
}
//
// POST: /Dinners/Edit/5
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Edit(int id, FormCollection collection) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
try {
UpdateModel(dinner);
dinnerRepository.Save();
return RedirectToAction("Details", new { id=dinner.DinnerID });
}
catch {
ModelState.AddModelErrors(dinner.GetRuleViolations());
return View(new DinnerFormViewModel(dinner));
}
}
//
// GET: /Dinners/Create
[Authorize]
public ActionResult Create() {
Dinner dinner = new Dinner() {
EventDate = DateTime.Now.AddDays(7)
};
return View(new DinnerFormViewModel(dinner));
}
//
// POST: /Dinners/Create
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Create(Dinner dinner) {
if (ModelState.IsValid) {
try {
dinner.HostedBy = User.Identity.Name;
RSVP rsvp = new RSVP();
rsvp.AttendeeName = User.Identity.Name;
dinner.RSVPs.Add(rsvp);
dinnerRepository.Add(dinner);
dinnerRepository.Save();
return RedirectToAction("Details", new { id=dinner.DinnerID });
}
catch {
ModelState.AddModelErrors(dinner.GetRuleViolations());
}
}
return View(new DinnerFormViewModel(dinner));
}
//
// HTTP GET: /Dinners/Delete/1
[Authorize]
public ActionResult Delete(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
return View(dinner);
}
//
// HTTP POST: /Dinners/Delete/1
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Delete(int id, string confirmButton) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
dinnerRepository.Delete(dinner);
dinnerRepository.Save();
return View("Deleted");
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using NerdDinner.Helpers;
using NerdDinner.Models;
namespace NerdDinner.Controllers {
//
// ViewModel Classes
public class DinnerFormViewModel {
// Properties
public Dinner Dinner { get; private set; }
public SelectList Countries { get; private set; }
// Constructor
public DinnerFormViewModel(Dinner dinner) {
Dinner = dinner;
Countries = new SelectList(PhoneValidator.Countries, Dinner.Country);
}
}
//
// Controller Class
[HandleError]
public class DinnersController : Controller {
IDinnerRepository dinnerRepository;
//
// Dependency Injection enabled constructors
public DinnersController()
: this(new DinnerRepository()) {
}
public DinnersController(IDinnerRepository repository) {
dinnerRepository = repository;
}
//
// GET: /Dinners/
// /Dinners/Page/2
public ActionResult Index(int? page) {
const int pageSize = 10;
var upcomingDinners = dinnerRepository.FindUpcomingDinners();
var paginatedDinners = new PaginatedList<Dinner>(upcomingDinners, page ?? 0, pageSize);
return View(paginatedDinners);
}
//
// GET: /Dinners/Details/5
public ActionResult Details(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
return View(dinner);
}
//
// GET: /Dinners/Edit/5
[Authorize]
public ActionResult Edit(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
return View(new DinnerFormViewModel(dinner));
}
//
// POST: /Dinners/Edit/5
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Edit(int id, FormCollection collection) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
try {
UpdateModel(dinner);
dinnerRepository.Save();
return RedirectToAction("Details", new { id=dinner.DinnerID });
}
catch {
ModelState.AddModelErrors(dinner.GetRuleViolations());
return View(new DinnerFormViewModel(dinner));
}
}
//
// GET: /Dinners/Create
[Authorize]
public ActionResult Create() {
Dinner dinner = new Dinner() {
EventDate = DateTime.Now.AddDays(7)
};
return View(new DinnerFormViewModel(dinner));
}
//
// POST: /Dinners/Create
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Create(Dinner dinner) {
if (ModelState.IsValid) {
try {
dinner.HostedBy = User.Identity.Name;
RSVP rsvp = new RSVP();
rsvp.AttendeeName = User.Identity.Name;
dinner.RSVPs.Add(rsvp);
dinnerRepository.Add(dinner);
dinnerRepository.Save();
return RedirectToAction("Details", new { id=dinner.DinnerID });
}
catch {
ModelState.AddModelErrors(dinner.GetRuleViolations());
}
}
return View(new DinnerFormViewModel(dinner));
}
//
// HTTP GET: /Dinners/Delete/1
[Authorize]
public ActionResult Delete(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
return View(dinner);
}
//
// HTTP POST: /Dinners/Delete/1
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Delete(int id, string confirmButton) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
if (!dinner.IsHostedBy(User.Identity.Name))
return View("InvalidOwner");
dinnerRepository.Delete(dinner);
dinnerRepository.Save();
return View("Deleted");
}
}
}

View file

@ -1,20 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace NerdDinner.Controllers {
[HandleError]
public class HomeController : Controller {
public ActionResult Index() {
return View();
}
public ActionResult About() {
return View();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace NerdDinner.Controllers {
[HandleError]
public class HomeController : Controller {
public ActionResult Index() {
return View();
}
public ActionResult About() {
return View();
}
}
}

View file

@ -1,45 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NerdDinner.Models;
namespace NerdDinner.Controllers
{
public class RSVPController : Controller {
IDinnerRepository dinnerRepository;
//
// Dependency Injection enabled constructors
public RSVPController()
: this(new DinnerRepository()) {
}
public RSVPController(IDinnerRepository repository) {
dinnerRepository = repository;
}
//
// AJAX: /Dinners/Register/1
[Authorize, AcceptVerbs(HttpVerbs.Post)]
public ActionResult Register(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.IsUserRegistered(User.Identity.Name)) {
RSVP rsvp = new RSVP();
rsvp.AttendeeName = User.Identity.Name;
dinner.RSVPs.Add(rsvp);
dinnerRepository.Save();
}
return Content("Thanks - we'll see you there!");
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NerdDinner.Models;
namespace NerdDinner.Controllers
{
public class RSVPController : Controller {
IDinnerRepository dinnerRepository;
//
// Dependency Injection enabled constructors
public RSVPController()
: this(new DinnerRepository()) {
}
public RSVPController(IDinnerRepository repository) {
dinnerRepository = repository;
}
//
// AJAX: /Dinners/Register/1
[Authorize, AcceptVerbs(HttpVerbs.Post)]
public ActionResult Register(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.IsUserRegistered(User.Identity.Name)) {
RSVP rsvp = new RSVP();
rsvp.AttendeeName = User.Identity.Name;
dinner.RSVPs.Add(rsvp);
dinnerRepository.Save();
}
return Content("Thanks - we'll see you there!");
}
}
}

View file

@ -1,55 +1,55 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NerdDinner.Models;
namespace NerdDinner.Controllers {
public class JsonDinner {
public int DinnerID { get; set; }
public string Title { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public string Description { get; set; }
public int RSVPCount { get; set; }
}
public class SearchController : Controller {
IDinnerRepository dinnerRepository;
//
// Dependency Injection enabled constructors
public SearchController()
: this(new DinnerRepository()) {
}
public SearchController(IDinnerRepository repository) {
dinnerRepository = repository;
}
//
// AJAX: /Search/FindByLocation?longitude=45&latitude=-90
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult SearchByLocation(float latitude, float longitude) {
var dinners = dinnerRepository.FindByLocation(latitude, longitude);
var jsonDinners = from dinner in dinners
select new JsonDinner {
DinnerID = dinner.DinnerID,
Latitude = dinner.Latitude,
Longitude = dinner.Longitude,
Title = dinner.Title,
Description = dinner.Description,
RSVPCount = dinner.RSVPs.Count
};
return Json(jsonDinners.ToList());
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NerdDinner.Models;
namespace NerdDinner.Controllers {
public class JsonDinner {
public int DinnerID { get; set; }
public string Title { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public string Description { get; set; }
public int RSVPCount { get; set; }
}
public class SearchController : Controller {
IDinnerRepository dinnerRepository;
//
// Dependency Injection enabled constructors
public SearchController()
: this(new DinnerRepository()) {
}
public SearchController(IDinnerRepository repository) {
dinnerRepository = repository;
}
//
// AJAX: /Search/FindByLocation?longitude=45&latitude=-90
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult SearchByLocation(float latitude, float longitude) {
var dinners = dinnerRepository.FindByLocation(latitude, longitude);
var jsonDinners = from dinner in dinners
select new JsonDinner {
DinnerID = dinner.DinnerID,
Latitude = dinner.Latitude,
Longitude = dinner.Longitude,
Title = dinner.Title,
Description = dinner.Description,
RSVPCount = dinner.RSVPs.Count
};
return Json(jsonDinners.ToList());
}
}
}

View file

@ -1,13 +1,13 @@
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
namespace NerdDinner {
public partial class _Default : Page {
public void Page_Load(object sender, System.EventArgs e) {
HttpContext.Current.RewritePath(Request.ApplicationPath, false);
IHttpHandler httpHandler = new MvcHttpHandler();
httpHandler.ProcessRequest(HttpContext.Current);
}
}
}
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
namespace NerdDinner {
public partial class _Default : Page {
public void Page_Load(object sender, System.EventArgs e) {
HttpContext.Current.RewritePath(Request.ApplicationPath, false);
IHttpHandler httpHandler = new MvcHttpHandler();
httpHandler.ProcessRequest(HttpContext.Current);
}
}
}

View file

@ -1,37 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Dlrsoft.Asp.Mvc;
namespace NerdDinner {
public class MvcApplication : System.Web.HttpApplication {
public void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"UpcomingDinners",
"Dinners/Page/{page}",
new { controller = "Dinners", action = "Index" }
);
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
);
}
void Application_Start() {
RegisterRoutes(RouteTable.Routes);
ViewEngines.Engines.Clear();
ViewEngines.Engines.Add(new AspViewEngine());
ViewEngines.Engines.Add(new WebFormViewEngine());
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Dlrsoft.Asp.Mvc;
namespace NerdDinner {
public class MvcApplication : System.Web.HttpApplication {
public void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"UpcomingDinners",
"Dinners/Page/{page}",
new { controller = "Dinners", action = "Index" }
);
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
);
}
void Application_Start() {
RegisterRoutes(RouteTable.Routes);
ViewEngines.Engines.Clear();
ViewEngines.Engines.Add(new AspViewEngine());
ViewEngines.Engines.Add(new WebFormViewEngine());
}
}
}

View file

@ -1,19 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NerdDinner.Models;
using System.Web.Mvc;
namespace NerdDinner.Helpers {
public static class ModelStateHelpers {
public static void AddModelErrors(this ModelStateDictionary modelState, IEnumerable<RuleViolation> errors) {
foreach (RuleViolation issue in errors) {
modelState.AddModelError(issue.PropertyName, issue.ErrorMessage);
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NerdDinner.Models;
using System.Web.Mvc;
namespace NerdDinner.Helpers {
public static class ModelStateHelpers {
public static void AddModelErrors(this ModelStateDictionary modelState, IEnumerable<RuleViolation> errors) {
foreach (RuleViolation issue in errors) {
modelState.AddModelError(issue.PropertyName, issue.ErrorMessage);
}
}
}
}

View file

@ -1,35 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace NerdDinner.Helpers {
public class PaginatedList<T> : List<T> {
public int PageIndex { get; private set; }
public int PageSize { get; private set; }
public int TotalCount { get; private set; }
public int TotalPages { get; private set; }
public PaginatedList(IQueryable<T> source, int pageIndex, int pageSize) {
PageIndex = pageIndex;
PageSize = pageSize;
TotalCount = source.Count();
TotalPages = (int) Math.Ceiling(TotalCount / (double)PageSize);
this.AddRange(source.Skip(PageIndex * PageSize).Take(PageSize));
}
public bool HasPreviousPage {
get {
return (PageIndex > 0);
}
}
public bool HasNextPage {
get {
return (PageIndex+1 < TotalPages);
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
namespace NerdDinner.Helpers {
public class PaginatedList<T> : List<T> {
public int PageIndex { get; private set; }
public int PageSize { get; private set; }
public int TotalCount { get; private set; }
public int TotalPages { get; private set; }
public PaginatedList(IQueryable<T> source, int pageIndex, int pageSize) {
PageIndex = pageIndex;
PageSize = pageSize;
TotalCount = source.Count();
TotalPages = (int) Math.Ceiling(TotalCount / (double)PageSize);
this.AddRange(source.Skip(PageIndex * PageSize).Take(PageSize));
}
public bool HasPreviousPage {
get {
return (PageIndex > 0);
}
}
public bool HasNextPage {
get {
return (PageIndex+1 < TotalPages);
}
}
}
}

View file

@ -1,32 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;
namespace NerdDinner.Helpers {
public class PhoneValidator {
static IDictionary<string, Regex> countryRegex = new Dictionary<string, Regex>()
{
{ "USA", new Regex("^[2-9]\\d{2}-\\d{3}-\\d{4}$")},
{ "UK", new Regex("(^1300\\d{6}$)|(^1800|1900|1902\\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\\d{4}$)|(^04\\d{2,3}\\d{6}$)")},
{ "Netherlands", new Regex("(^\\+[0-9]{2}|^\\+[0-9]{2}\\(0\\)|^\\(\\+[0-9]{2}\\)\\(0\\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\\-\\s]{10}$)")},
};
public static bool IsValidNumber(string phoneNumber, string country) {
if (country != null && countryRegex.ContainsKey(country))
return countryRegex[country].IsMatch(phoneNumber);
else
return false;
}
public static IEnumerable<string> Countries {
get {
return countryRegex.Keys;
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;
namespace NerdDinner.Helpers {
public class PhoneValidator {
static IDictionary<string, Regex> countryRegex = new Dictionary<string, Regex>()
{
{ "USA", new Regex("^[2-9]\\d{2}-\\d{3}-\\d{4}$")},
{ "UK", new Regex("(^1300\\d{6}$)|(^1800|1900|1902\\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\\d{4}$)|(^04\\d{2,3}\\d{6}$)")},
{ "Netherlands", new Regex("(^\\+[0-9]{2}|^\\+[0-9]{2}\\(0\\)|^\\(\\+[0-9]{2}\\)\\(0\\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\\-\\s]{10}$)")},
};
public static bool IsValidNumber(string phoneNumber, string country) {
if (country != null && countryRegex.ContainsKey(country))
return countryRegex[country].IsMatch(phoneNumber);
else
return false;
}
public static IEnumerable<string> Countries {
get {
return countryRegex.Keys;
}
}
}
}

View file

@ -1,56 +1,56 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Web.Mvc;
using NerdDinner.Helpers;
namespace NerdDinner.Models {
[Bind(Include="Title,Description,EventDate,Address,Country,ContactPhone,Latitude,Longitude")]
public partial class Dinner {
public bool IsHostedBy(string userName) {
return HostedBy.Equals(userName, StringComparison.InvariantCultureIgnoreCase);
}
public bool IsUserRegistered(string userName) {
return RSVPs.Any(r => r.AttendeeName.Equals(userName, StringComparison.InvariantCultureIgnoreCase));
}
public bool IsValid {
get { return (GetRuleViolations().Count() == 0); }
}
public IEnumerable<RuleViolation> GetRuleViolations() {
if (String.IsNullOrEmpty(Title))
yield return new RuleViolation("Title is required", "Title");
if (String.IsNullOrEmpty(Description))
yield return new RuleViolation("Description is required", "Description");
if (String.IsNullOrEmpty(HostedBy))
yield return new RuleViolation("HostedBy is required", "HostedBy");
if (String.IsNullOrEmpty(Address))
yield return new RuleViolation("Address is required", "Address");
if (String.IsNullOrEmpty(Country))
yield return new RuleViolation("Country is required", "Address");
if (String.IsNullOrEmpty(ContactPhone))
yield return new RuleViolation("Phone# is required", "ContactPhone");
if (!PhoneValidator.IsValidNumber(ContactPhone, Country))
yield return new RuleViolation("Phone# does not match country", "ContactPhone");
yield break;
}
partial void OnValidate(ChangeAction action) {
if (!IsValid)
throw new ApplicationException("Rule violations prevent saving");
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Web.Mvc;
using NerdDinner.Helpers;
namespace NerdDinner.Models {
[Bind(Include="Title,Description,EventDate,Address,Country,ContactPhone,Latitude,Longitude")]
public partial class Dinner {
public bool IsHostedBy(string userName) {
return HostedBy.Equals(userName, StringComparison.InvariantCultureIgnoreCase);
}
public bool IsUserRegistered(string userName) {
return RSVPs.Any(r => r.AttendeeName.Equals(userName, StringComparison.InvariantCultureIgnoreCase));
}
public bool IsValid {
get { return (GetRuleViolations().Count() == 0); }
}
public IEnumerable<RuleViolation> GetRuleViolations() {
if (String.IsNullOrEmpty(Title))
yield return new RuleViolation("Title is required", "Title");
if (String.IsNullOrEmpty(Description))
yield return new RuleViolation("Description is required", "Description");
if (String.IsNullOrEmpty(HostedBy))
yield return new RuleViolation("HostedBy is required", "HostedBy");
if (String.IsNullOrEmpty(Address))
yield return new RuleViolation("Address is required", "Address");
if (String.IsNullOrEmpty(Country))
yield return new RuleViolation("Country is required", "Address");
if (String.IsNullOrEmpty(ContactPhone))
yield return new RuleViolation("Phone# is required", "ContactPhone");
if (!PhoneValidator.IsValidNumber(ContactPhone, Country))
yield return new RuleViolation("Phone# does not match country", "ContactPhone");
yield break;
}
partial void OnValidate(ChangeAction action) {
if (!IsValid)
throw new ApplicationException("Rule violations prevent saving");
}
}
}

View file

@ -1,58 +1,58 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NerdDinner.Models {
public class DinnerRepository : NerdDinner.Models.IDinnerRepository {
NerdDinnerDataContext db = new NerdDinnerDataContext();
//
// Query Methods
public IQueryable<Dinner> FindAllDinners() {
return db.Dinners;
}
public IQueryable<Dinner> FindUpcomingDinners() {
return from dinner in FindAllDinners()
where dinner.EventDate > DateTime.Now
orderby dinner.EventDate
select dinner;
}
public IQueryable<Dinner> FindByLocation(float latitude, float longitude) {
var dinners = from dinner in FindUpcomingDinners()
join i in db.NearestDinners(latitude, longitude)
on dinner.DinnerID equals i.DinnerID
select dinner;
return dinners;
}
public Dinner GetDinner(int id) {
return db.Dinners.SingleOrDefault(d => d.DinnerID == id);
}
//
// Insert/Delete Methods
public void Add(Dinner dinner) {
db.Dinners.InsertOnSubmit(dinner);
}
public void Delete(Dinner dinner) {
db.RSVPs.DeleteAllOnSubmit(dinner.RSVPs);
db.Dinners.DeleteOnSubmit(dinner);
}
//
// Persistence
public void Save() {
db.SubmitChanges();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NerdDinner.Models {
public class DinnerRepository : NerdDinner.Models.IDinnerRepository {
NerdDinnerDataContext db = new NerdDinnerDataContext();
//
// Query Methods
public IQueryable<Dinner> FindAllDinners() {
return db.Dinners;
}
public IQueryable<Dinner> FindUpcomingDinners() {
return from dinner in FindAllDinners()
where dinner.EventDate > DateTime.Now
orderby dinner.EventDate
select dinner;
}
public IQueryable<Dinner> FindByLocation(float latitude, float longitude) {
var dinners = from dinner in FindUpcomingDinners()
join i in db.NearestDinners(latitude, longitude)
on dinner.DinnerID equals i.DinnerID
select dinner;
return dinners;
}
public Dinner GetDinner(int id) {
return db.Dinners.SingleOrDefault(d => d.DinnerID == id);
}
//
// Insert/Delete Methods
public void Add(Dinner dinner) {
db.Dinners.InsertOnSubmit(dinner);
}
public void Delete(Dinner dinner) {
db.RSVPs.DeleteAllOnSubmit(dinner.RSVPs);
db.Dinners.DeleteOnSubmit(dinner);
}
//
// Persistence
public void Save() {
db.SubmitChanges();
}
}
}

View file

@ -1,18 +1,18 @@
using System;
using System.Linq;
namespace NerdDinner.Models {
public interface IDinnerRepository {
IQueryable<Dinner> FindAllDinners();
IQueryable<Dinner> FindByLocation(float latitude, float longitude);
IQueryable<Dinner> FindUpcomingDinners();
Dinner GetDinner(int id);
void Add(Dinner dinner);
void Delete(Dinner dinner);
void Save();
}
}
using System;
using System.Linq;
namespace NerdDinner.Models {
public interface IDinnerRepository {
IQueryable<Dinner> FindAllDinners();
IQueryable<Dinner> FindByLocation(float latitude, float longitude);
IQueryable<Dinner> FindUpcomingDinners();
Dinner GetDinner(int id);
void Add(Dinner dinner);
void Delete(Dinner dinner);
void Save();
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,22 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NerdDinner.Models {
public class RuleViolation {
public string ErrorMessage { get; private set; }
public string PropertyName { get; private set; }
public RuleViolation(string errorMessage) {
ErrorMessage = errorMessage;
}
public RuleViolation(string errorMessage, string propertyName) {
ErrorMessage = errorMessage;
PropertyName = propertyName;
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NerdDinner.Models {
public class RuleViolation {
public string ErrorMessage { get; private set; }
public string PropertyName { get; private set; }
public RuleViolation(string errorMessage) {
ErrorMessage = errorMessage;
}
public RuleViolation(string errorMessage, string propertyName) {
ErrorMessage = errorMessage;
PropertyName = propertyName;
}
}
}

View file

@ -1,215 +1,215 @@
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{328C148C-DBEE-41A4-B1C7-104CBB216556}</ProjectGuid>
<ProjectTypeGuids>{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NerdDinner</RootNamespace>
<AssemblyName>NerdDinner</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Dlrsoft.Asp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\asp\bin\Release\Dlrsoft.Asp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Abstractions.dll</HintPath>
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Mvc.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<Private>True</Private>
</Reference>
<Reference Include="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Routing.dll</HintPath>
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Mobile" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\AccountController.cs" />
<Compile Include="Controllers\DinnersController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\SearchController.cs" />
<Compile Include="Controllers\RSVPController.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Helpers\ControllerHelpers.cs" />
<Compile Include="Helpers\PaginatedList.cs" />
<Compile Include="Helpers\PhoneValidator.cs" />
<Compile Include="Models\Dinner.cs" />
<Compile Include="Models\DinnerRepository.cs" />
<Compile Include="Models\IDinnerRepository.cs" />
<Compile Include="Models\NerdDinner.designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>NerdDinner.dbml</DependentUpon>
</Compile>
<Compile Include="Models\RuleViolation.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Data\NerdDinner.mdf">
</Content>
<Content Include="App_Data\NerdDinner_log.ldf">
<DependentUpon>NerdDinner.mdf</DependentUpon>
</Content>
<Content Include="Content\nerd.jpg" />
<Content Include="Default.aspx" />
<Content Include="Global.asax" />
<Content Include="Scripts\Map.js" />
<None Include="Views\Dinners\DinnerForm.asc" />
<None Include="Views\Dinners\DinnerForm.ascx.bak" />
<None Include="Views\Dinners\EditAndDeleteLinks.asc" />
<None Include="Views\Dinners\EditAndDeleteLinks.ascx.bak" />
<None Include="Views\Dinners\RSVPStatus.asc" />
<Content Include="Views\Dinners\Map.asp" />
<Content Include="Views\Dinners\Index.asp" />
<None Include="Views\Dinners\RSVPStatus.ascx.bak">
<SubType>ASPXCodeBehind</SubType>
</None>
<None Include="Views\Dinners\Map.ascx.bak" />
<Content Include="Views\Dinners\Edit.asp" />
<Content Include="Views\Dinners\Create.asp" />
<Content Include="Views\Dinners\Details.asp" />
<Content Include="Views\Dinners\Delete.asp" />
<Content Include="Views\Dinners\InvalidOwner.asp" />
<Content Include="Views\Dinners\NotFound.asp" />
<Content Include="Views\Dinners\Deleted.asp" />
<Content Include="Views\Home\Index.asp" />
<Content Include="Views\Home\About.asp" />
<Content Include="Views\Shared\header.asp" />
<Content Include="Views\Shared\template.asp" />
<Content Include="Web.config" />
<Content Include="Content\Site.css" />
<Content Include="Scripts\jquery-1.2.6.js" />
<Content Include="Scripts\jquery-1.2.6.min.js" />
<Content Include="Scripts\jquery-1.2.6-vsdoc.js" />
<Content Include="Scripts\jquery-1.2.6.min-vsdoc.js" />
<Content Include="Scripts\MicrosoftAjax.js" />
<Content Include="Scripts\MicrosoftAjax.debug.js" />
<Content Include="Scripts\MicrosoftMvcAjax.js" />
<Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
<Content Include="Views\Account\ChangePassword.aspx" />
<Content Include="Views\Account\ChangePasswordSuccess.aspx" />
<Content Include="Views\Account\LogOn.aspx" />
<Content Include="Views\Account\Register.aspx" />
<Content Include="Views\Shared\Error.aspx" />
<Content Include="Views\Shared\LoginStatus.ascx" />
<Content Include="Views\Shared\Site.Master" />
<Content Include="Views\Web.config" />
</ItemGroup>
<ItemGroup>
<None Include="Models\NerdDinner.dbml">
<Generator>MSLinqToSQLGenerator</Generator>
<LastGenOutput>NerdDinner.designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
</ItemGroup>
<ItemGroup>
<None Include="Models\NerdDinner.dbml.layout">
<DependentUpon>NerdDinner.dbml</DependentUpon>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target> -->
<Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(ProjectName)" />
</Target>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>60848</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{328C148C-DBEE-41A4-B1C7-104CBB216556}</ProjectGuid>
<ProjectTypeGuids>{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NerdDinner</RootNamespace>
<AssemblyName>NerdDinner</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Dlrsoft.Asp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\asp\bin\Release\Dlrsoft.Asp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Abstractions.dll</HintPath>
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Mvc.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<Private>True</Private>
</Reference>
<Reference Include="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Routing.dll</HintPath>
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Mobile" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\AccountController.cs" />
<Compile Include="Controllers\DinnersController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\SearchController.cs" />
<Compile Include="Controllers\RSVPController.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Helpers\ControllerHelpers.cs" />
<Compile Include="Helpers\PaginatedList.cs" />
<Compile Include="Helpers\PhoneValidator.cs" />
<Compile Include="Models\Dinner.cs" />
<Compile Include="Models\DinnerRepository.cs" />
<Compile Include="Models\IDinnerRepository.cs" />
<Compile Include="Models\NerdDinner.designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>NerdDinner.dbml</DependentUpon>
</Compile>
<Compile Include="Models\RuleViolation.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Data\NerdDinner.mdf">
</Content>
<Content Include="App_Data\NerdDinner_log.ldf">
<DependentUpon>NerdDinner.mdf</DependentUpon>
</Content>
<Content Include="Content\nerd.jpg" />
<Content Include="Default.aspx" />
<Content Include="Global.asax" />
<Content Include="Scripts\Map.js" />
<None Include="Views\Dinners\DinnerForm.asc" />
<None Include="Views\Dinners\DinnerForm.ascx.bak" />
<None Include="Views\Dinners\EditAndDeleteLinks.asc" />
<None Include="Views\Dinners\EditAndDeleteLinks.ascx.bak" />
<None Include="Views\Dinners\RSVPStatus.asc" />
<Content Include="Views\Dinners\Map.asp" />
<Content Include="Views\Dinners\Index.asp" />
<None Include="Views\Dinners\RSVPStatus.ascx.bak">
<SubType>ASPXCodeBehind</SubType>
</None>
<None Include="Views\Dinners\Map.ascx.bak" />
<Content Include="Views\Dinners\Edit.asp" />
<Content Include="Views\Dinners\Create.asp" />
<Content Include="Views\Dinners\Details.asp" />
<Content Include="Views\Dinners\Delete.asp" />
<Content Include="Views\Dinners\InvalidOwner.asp" />
<Content Include="Views\Dinners\NotFound.asp" />
<Content Include="Views\Dinners\Deleted.asp" />
<Content Include="Views\Home\Index.asp" />
<Content Include="Views\Home\About.asp" />
<Content Include="Views\Shared\header.asp" />
<Content Include="Views\Shared\template.asp" />
<Content Include="Web.config" />
<Content Include="Content\Site.css" />
<Content Include="Scripts\jquery-1.2.6.js" />
<Content Include="Scripts\jquery-1.2.6.min.js" />
<Content Include="Scripts\jquery-1.2.6-vsdoc.js" />
<Content Include="Scripts\jquery-1.2.6.min-vsdoc.js" />
<Content Include="Scripts\MicrosoftAjax.js" />
<Content Include="Scripts\MicrosoftAjax.debug.js" />
<Content Include="Scripts\MicrosoftMvcAjax.js" />
<Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
<Content Include="Views\Account\ChangePassword.aspx" />
<Content Include="Views\Account\ChangePasswordSuccess.aspx" />
<Content Include="Views\Account\LogOn.aspx" />
<Content Include="Views\Account\Register.aspx" />
<Content Include="Views\Shared\Error.aspx" />
<Content Include="Views\Shared\LoginStatus.ascx" />
<Content Include="Views\Shared\Site.Master" />
<Content Include="Views\Web.config" />
</ItemGroup>
<ItemGroup>
<None Include="Models\NerdDinner.dbml">
<Generator>MSLinqToSQLGenerator</Generator>
<LastGenOutput>NerdDinner.designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
</ItemGroup>
<ItemGroup>
<None Include="Models\NerdDinner.dbml.layout">
<DependentUpon>NerdDinner.dbml</DependentUpon>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target> -->
<Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(ProjectName)" />
</Target>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>60848</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>

View file

@ -1,35 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NerdDinner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NerdDinner")]
[assembly: AssemblyCopyright("Copyright © 2009")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3f961952-a5a3-4ca2-bc29-5b46b500177d")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("0.5.2.32072")]
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NerdDinner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NerdDinner")]
[assembly: AssemblyCopyright("Copyright © 2009")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3f961952-a5a3-4ca2-bc29-5b46b500177d")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("0.5.2.32072")]

View file

@ -1,138 +1,138 @@
/// <reference path="jquery-1.2.6.js" />
var map = null;
var points = [];
var shapes = [];
var center = null;
function LoadMap(latitude, longitude, onMapLoaded) {
map = new VEMap('theMap');
options = new VEMapOptions();
options.EnableBirdseye = false;
// Makes the control bar less obtrusize.
map.SetDashboardSize(VEDashboardSize.Small);
if (onMapLoaded != null)
map.onLoadMap = onMapLoaded;
if (latitude != null && longitude != null) {
center = new VELatLong(latitude, longitude);
}
map.LoadMap(center, null, null, null, null, null, null, options);
}
function LoadPin(LL, name, description) {
var shape = new VEShape(VEShapeType.Pushpin, LL);
//Make a nice Pushpin shape with a title and description
shape.SetTitle("<span class=\"pinTitle\"> " + escape(name) + "</span>");
if (description !== undefined) {
shape.SetDescription("<p class=\"pinDetails\">" +
escape(description) + "</p>");
}
map.AddShape(shape);
points.push(LL);
shapes.push(shape);
}
function FindAddressOnMap(where) {
var numberOfResults = 20;
var setBestMapView = true;
var showResults = true;
map.Find("", where, null, null, null,
numberOfResults, showResults, true, true,
setBestMapView, callbackForLocation);
}
function callbackForLocation(layer, resultsArray, places,
hasMore, VEErrorMessage) {
clearMap();
if (places == null)
return;
//Make a pushpin for each place we find
$.each(places, function(i, item) {
var description = "";
if (item.Description !== undefined) {
description = item.Description;
}
var LL = new VELatLong(item.LatLong.Latitude,
item.LatLong.Longitude);
LoadPin(LL, item.Name, description);
});
//Make sure all pushpins are visible
if (points.length > 1) {
map.SetMapView(points);
}
//If we've found exactly one place, that's our address.
if (points.length === 1) {
$("#Latitude").val(points[0].Latitude);
$("#Longitude").val(points[0].Longitude);
}
}
function clearMap() {
map.Clear();
points = [];
shapes = [];
}
function FindDinnersGivenLocation(where) {
map.Find("", where, null, null, null, null, null, false,
null, null, callbackUpdateMapDinners);
}
function callbackUpdateMapDinners(layer, resultsArray, places, hasMore, VEErrorMessage) {
$("#dinnerList").empty();
clearMap();
var center = map.GetCenter();
$.post("/Search/SearchByLocation", { latitude: center.Latitude,
longitude: center.Longitude
}, function(dinners) {
$.each(dinners, function(i, dinner) {
var LL = new VELatLong(dinner.Latitude, dinner.Longitude, 0, null);
var RsvpMessage = "";
if (dinner.RSVPCount == 1)
RsvpMessage = "" + dinner.RSVPCount + " RSVP";
else
RsvpMessage = "" + dinner.RSVPCount + " RSVPs";
// Add Pin to Map
LoadPin(LL, '<a href="/Dinners/Details/' + dinner.DinnerID + '">'
+ dinner.Title + '</a>',
"<p>" + dinner.Description + "</p>" + RsvpMessage);
//Add a dinner to the <ul> dinnerList on the right
$('#dinnerList').append($('<li/>')
.attr("class", "dinnerItem")
.append($('<a/>').attr("href",
"/Dinners/Details/" + dinner.DinnerID)
.html(dinner.Title)).append(" ("+RsvpMessage+")"));
});
// Adjust zoom to display all the pins we just added.
if (points.length > 1) {
map.SetMapView(points);
}
// Display the event's pin-bubble on hover.
$(".dinnerItem").each(function(i, dinner) {
$(dinner).hover(
function() { map.ShowInfoBox(shapes[i]); },
function() { map.HideInfoBox(shapes[i]); }
);
});
}, "json");
}
/// <reference path="jquery-1.2.6.js" />
var map = null;
var points = [];
var shapes = [];
var center = null;
function LoadMap(latitude, longitude, onMapLoaded) {
map = new VEMap('theMap');
options = new VEMapOptions();
options.EnableBirdseye = false;
// Makes the control bar less obtrusize.
map.SetDashboardSize(VEDashboardSize.Small);
if (onMapLoaded != null)
map.onLoadMap = onMapLoaded;
if (latitude != null && longitude != null) {
center = new VELatLong(latitude, longitude);
}
map.LoadMap(center, null, null, null, null, null, null, options);
}
function LoadPin(LL, name, description) {
var shape = new VEShape(VEShapeType.Pushpin, LL);
//Make a nice Pushpin shape with a title and description
shape.SetTitle("<span class=\"pinTitle\"> " + escape(name) + "</span>");
if (description !== undefined) {
shape.SetDescription("<p class=\"pinDetails\">" +
escape(description) + "</p>");
}
map.AddShape(shape);
points.push(LL);
shapes.push(shape);
}
function FindAddressOnMap(where) {
var numberOfResults = 20;
var setBestMapView = true;
var showResults = true;
map.Find("", where, null, null, null,
numberOfResults, showResults, true, true,
setBestMapView, callbackForLocation);
}
function callbackForLocation(layer, resultsArray, places,
hasMore, VEErrorMessage) {
clearMap();
if (places == null)
return;
//Make a pushpin for each place we find
$.each(places, function(i, item) {
var description = "";
if (item.Description !== undefined) {
description = item.Description;
}
var LL = new VELatLong(item.LatLong.Latitude,
item.LatLong.Longitude);
LoadPin(LL, item.Name, description);
});
//Make sure all pushpins are visible
if (points.length > 1) {
map.SetMapView(points);
}
//If we've found exactly one place, that's our address.
if (points.length === 1) {
$("#Latitude").val(points[0].Latitude);
$("#Longitude").val(points[0].Longitude);
}
}
function clearMap() {
map.Clear();
points = [];
shapes = [];
}
function FindDinnersGivenLocation(where) {
map.Find("", where, null, null, null, null, null, false,
null, null, callbackUpdateMapDinners);
}
function callbackUpdateMapDinners(layer, resultsArray, places, hasMore, VEErrorMessage) {
$("#dinnerList").empty();
clearMap();
var center = map.GetCenter();
$.post("/Search/SearchByLocation", { latitude: center.Latitude,
longitude: center.Longitude
}, function(dinners) {
$.each(dinners, function(i, dinner) {
var LL = new VELatLong(dinner.Latitude, dinner.Longitude, 0, null);
var RsvpMessage = "";
if (dinner.RSVPCount == 1)
RsvpMessage = "" + dinner.RSVPCount + " RSVP";
else
RsvpMessage = "" + dinner.RSVPCount + " RSVPs";
// Add Pin to Map
LoadPin(LL, '<a href="/Dinners/Details/' + dinner.DinnerID + '">'
+ dinner.Title + '</a>',
"<p>" + dinner.Description + "</p>" + RsvpMessage);
//Add a dinner to the <ul> dinnerList on the right
$('#dinnerList').append($('<li/>')
.attr("class", "dinnerItem")
.append($('<a/>').attr("href",
"/Dinners/Details/" + dinner.DinnerID)
.html(dinner.Title)).append(" ("+RsvpMessage+")"));
});
// Adjust zoom to display all the pins we just added.
if (points.length > 1) {
map.SetMapView(points);
}
// Display the event's pin-bubble on hover.
$(".dinnerItem").each(function(i, dinner) {
$(dinner).hover(
function() { map.ShowInfoBox(shapes[i]); },
function() { map.HideInfoBox(shapes[i]); }
);
});
}, "json");
}

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,337 +1,337 @@
//----------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------
// MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------
//----------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------
// MicrosoftMvcAjax.js
Type.registerNamespace('Sys.Mvc');
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxOptions
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.InsertionMode
Sys.Mvc.InsertionMode = function() {
/// <field name="replace" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertBefore" type="Number" integer="true" static="true">
/// </field>
/// <field name="insertAfter" type="Number" integer="true" static="true">
/// </field>
};
Sys.Mvc.InsertionMode.prototype = {
replace: 0,
insertBefore: 1,
insertAfter: 2
}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AjaxContext
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="updateTarget" type="Object" domElement="true">
/// </param>
/// <param name="loadingElement" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
/// </field>
/// <field name="_loadingElement" type="Object" domElement="true">
/// </field>
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
/// </field>
/// <field name="_request" type="Sys.Net.WebRequest">
/// </field>
/// <field name="_updateTarget" type="Object" domElement="true">
/// </field>
this._request = request;
this._updateTarget = updateTarget;
this._loadingElement = loadingElement;
this._insertionMode = insertionMode;
}
Sys.Mvc.AjaxContext.prototype = {
_insertionMode: 0,
_loadingElement: null,
_response: null,
_request: null,
_updateTarget: null,
get_data: function Sys_Mvc_AjaxContext$get_data() {
/// <value type="String"></value>
if (this._response) {
return this._response.get_responseData();
}
else {
return null;
}
},
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
/// <value type="Sys.Mvc.InsertionMode"></value>
return this._insertionMode;
},
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
/// <value type="Object" domElement="true"></value>
return this._loadingElement;
},
get_response: function Sys_Mvc_AjaxContext$get_response() {
/// <value type="Sys.Net.WebRequestExecutor"></value>
return this._response;
},
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
/// <value type="Sys.Net.WebRequestExecutor"></value>
this._response = value;
return value;
},
get_request: function Sys_Mvc_AjaxContext$get_request() {
/// <value type="Sys.Net.WebRequest"></value>
return this._request;
},
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
/// <value type="Object" domElement="true"></value>
return this._updateTarget;
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncHyperlink
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
}
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
/// <param name="anchor" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.MvcHelpers
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
}
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <returns type="String"></returns>
var formElements = form.elements;
var formBody = new Sys.StringBuilder();
var count = formElements.length;
for (var i = 0; i < count; i++) {
var element = formElements[i];
var name = element.name;
if (!name || !name.length) {
continue;
}
var tagName = element.tagName.toUpperCase();
if (tagName === 'INPUT') {
var inputElement = element;
var type = inputElement.type;
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(inputElement.value));
formBody.append('&');
}
}
else if (tagName === 'SELECT') {
var selectElement = element;
var optionCount = selectElement.options.length;
for (var j = 0; j < optionCount; j++) {
var optionElement = selectElement.options[j];
if (optionElement.selected) {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent(optionElement.value));
formBody.append('&');
}
}
}
else if (tagName === 'TEXTAREA') {
formBody.append(encodeURIComponent(name));
formBody.append('=');
formBody.append(encodeURIComponent((element.value)));
formBody.append('&');
}
}
return formBody.toString();
}
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
/// <param name="url" type="String">
/// </param>
/// <param name="verb" type="String">
/// </param>
/// <param name="body" type="String">
/// </param>
/// <param name="triggerElement" type="Object" domElement="true">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
if (ajaxOptions.confirm) {
if (!confirm(ajaxOptions.confirm)) {
return;
}
}
if (ajaxOptions.url) {
url = ajaxOptions.url;
}
if (ajaxOptions.httpMethod) {
verb = ajaxOptions.httpMethod;
}
if (body.length > 0 && !body.endsWith('&')) {
body += '&';
}
body += 'X-Requested-With=XMLHttpRequest';
var requestBody = '';
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
if (url.indexOf('?') > -1) {
if (!url.endsWith('&')) {
url += '&';
}
url += body;
}
else {
url += '?';
url += body;
}
}
else {
requestBody = body;
}
var request = new Sys.Net.WebRequest();
request.set_url(url);
request.set_httpVerb(verb);
request.set_body(requestBody);
if (verb.toUpperCase() === 'PUT') {
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
}
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
var updateElement = null;
if (ajaxOptions.updateTargetId) {
updateElement = $get(ajaxOptions.updateTargetId);
}
var loadingElement = null;
if (ajaxOptions.loadingElementId) {
loadingElement = $get(ajaxOptions.loadingElementId);
}
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
var continueRequest = true;
if (ajaxOptions.onBegin) {
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
}
if (loadingElement) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
}
if (continueRequest) {
request.add_completed(Function.createDelegate(null, function(executor) {
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
}));
request.invoke();
}
}
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
/// <param name="request" type="Sys.Net.WebRequest">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
/// </param>
ajaxContext.set_response(request.get_executor());
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
return;
}
var statusCode = ajaxContext.get_response().get_statusCode();
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
eval(ajaxContext.get_data());
}
else {
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
}
}
if (ajaxOptions.onSuccess) {
ajaxOptions.onSuccess(ajaxContext);
}
}
else {
if (ajaxOptions.onFailure) {
ajaxOptions.onFailure(ajaxContext);
}
}
if (ajaxContext.get_loadingElement()) {
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
}
}
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
/// <param name="target" type="Object" domElement="true">
/// </param>
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
/// </param>
/// <param name="content" type="String">
/// </param>
if (target) {
switch (insertionMode) {
case Sys.Mvc.InsertionMode.replace:
target.innerHTML = content;
break;
case Sys.Mvc.InsertionMode.insertBefore:
if (content && content.length > 0) {
target.innerHTML = content + target.innerHTML.trimStart();
}
break;
case Sys.Mvc.InsertionMode.insertAfter:
if (content && content.length > 0) {
target.innerHTML = target.innerHTML.trimEnd() + content;
}
break;
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Sys.Mvc.AsyncForm
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
}
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
/// <param name="form" type="Object" domElement="true">
/// </param>
/// <param name="evt" type="Sys.UI.DomEvent">
/// </param>
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
/// </param>
evt.preventDefault();
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
}
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
// ---- Do not remove this footer ----
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
// -----------------------------------

View file

@ -1,4 +1,4 @@
Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_AjaxOptions=function(){return {};}
Sys.Mvc.InsertionMode=function(){};Sys.Mvc.InsertionMode.prototype = {replace:0,insertBefore:1,insertAfter:2}
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode',false);Sys.Mvc.AjaxContext=function(request,updateTarget,loadingElement,insertionMode){this.$3=request;this.$4=updateTarget;this.$1=loadingElement;this.$0=insertionMode;}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,25 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Host a Dinner</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<% Html.RenderPartial("DinnerForm") %>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Host a Dinner</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<% Html.RenderPartial("DinnerForm") %>
</div>
</div>
</body>
</html>

View file

@ -1,39 +1,39 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Delete Confirmation: <%=Html.Encode(Model.Title) %></title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>
Delete Confirmation
</h2>
<div>
<p>Please confirm you want to cancel the dinner titled:
<i> <%=Html.Encode(Model.Title) %>? </i> </p>
</div>
<% dim myForm
myForm = Html.BeginForm() %>
<input name="confirmButton" type="submit" value="Delete" />
<% myForm.dispose() %>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Delete Confirmation: <%=Html.Encode(Model.Title) %></title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>
Delete Confirmation
</h2>
<div>
<p>Please confirm you want to cancel the dinner titled:
<i> <%=Html.Encode(Model.Title) %>? </i> </p>
</div>
<% dim myForm
myForm = Html.BeginForm() %>
<input name="confirmButton" type="submit" value="Delete" />
<% myForm.dispose() %>
</div>
</div>
</body>
</html>

View file

@ -1,33 +1,33 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Deleted</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Dinner Deleted</h2>
<div>
<p>Your dinner was successfully deleted.</p>
</div>
<div>
<p><a href="/dinners">Click for Upcoming Dinners</a></p>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Deleted</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Dinner Deleted</h2>
<div>
<p>Your dinner was successfully deleted.</p>
</div>
<div>
<p><a href="/dinners">Click for Upcoming Dinners</a></p>
</div>
</div>
</div>
</body>
</html>

View file

@ -1,57 +1,57 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title><%= Html.Encode(Model.Title) %></title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<div id="dinnerDiv">
<h2><%= Html.Encode(Model.Title) %></h2>
<p>
<strong>When:</strong>
<%= Model.EventDate.ToShortDateString() %>
<strong>@</strong>
<%= Model.EventDate.ToShortTimeString() %>
</p>
<p>
<strong>Where:</strong>
<%= Html.Encode(Model.Address) %>,
<%= Html.Encode(Model.Country) %>
</p>
<p>
<strong>Description:</strong>
<%= Html.Encode(Model.Description) %>
</p>
<p>
<strong>Organizer:</strong>
<%= Html.Encode(Model.HostedBy) %>
(<%= Html.Encode(Model.ContactPhone) %>)
</p>
<% Html.RenderPartial("RSVPStatus"); %>
<% Html.RenderPartial("EditAndDeleteLinks"); %>
</div>
<div id="mapDiv">
<% Html.RenderPartial("map"); %>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title><%= Html.Encode(Model.Title) %></title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<div id="dinnerDiv">
<h2><%= Html.Encode(Model.Title) %></h2>
<p>
<strong>When:</strong>
<%= Model.EventDate.ToShortDateString() %>
<strong>@</strong>
<%= Model.EventDate.ToShortTimeString() %>
</p>
<p>
<strong>Where:</strong>
<%= Html.Encode(Model.Address) %>,
<%= Html.Encode(Model.Country) %>
</p>
<p>
<strong>Description:</strong>
<%= Html.Encode(Model.Description) %>
</p>
<p>
<strong>Organizer:</strong>
<%= Html.Encode(Model.HostedBy) %>
(<%= Html.Encode(Model.ContactPhone) %>)
</p>
<% Html.RenderPartial("RSVPStatus"); %>
<% Html.RenderPartial("EditAndDeleteLinks"); %>
</div>
<div id="mapDiv">
<% Html.RenderPartial("map"); %>
</div>
</div>
</div>
</body>
</html>

View file

@ -1,27 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Edit: <%=Html.Encode(Model.Dinner.Title) %></title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Edit Dinner</h2>
<% Html.RenderPartial("DinnerForm"); %>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Edit: <%=Html.Encode(Model.Dinner.Title) %></title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Edit Dinner</h2>
<% Html.RenderPartial("DinnerForm"); %>
</div>
</div>
</body>
</html>

View file

@ -1,62 +1,62 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Upcoming Dinners</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>
Upcoming Dinners
</h2>
<ul>
<% dim dinner
for each dinner in Model %>
<li>
<%= Html.ActionLink(dinner.Title, "Details", Html.RouteValue("id", dinner.DinnerID)) %>
on
<%= Html.Encode(dinner.EventDate.ToShortDateString())%>
@
<%= Html.Encode(dinner.EventDate.ToShortTimeString())%>
</li>
<% next %>
</ul>
<div class="pagination">
<% if Model.HasPreviousPage then %>
<%= Html.RouteLink("<<<", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex-1)) %>
<% end if %>
<% if Model.HasNextPage then %>
<%= Html.RouteLink(">>>", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex+1)) %>
<% end if %>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Upcoming Dinners</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>
Upcoming Dinners
</h2>
<ul>
<% dim dinner
for each dinner in Model %>
<li>
<%= Html.ActionLink(dinner.Title, "Details", Html.RouteValue("id", dinner.DinnerID)) %>
on
<%= Html.Encode(dinner.EventDate.ToShortDateString())%>
@
<%= Html.Encode(dinner.EventDate.ToShortTimeString())%>
</li>
<% next %>
</ul>
<div class="pagination">
<% if Model.HasPreviousPage then %>
<%= Html.RouteLink("<<<", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex-1)) %>
<% end if %>
<% if Model.HasNextPage then %>
<%= Html.RouteLink(">>>", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex+1)) %>
<% end if %>
</div>
</div>
</div>
</body>
</html>

View file

@ -1,27 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>You Don't Own This Dinner</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Error Accessing Dinner</h2>
<p>Sorry - but only the host of a Dinner can edit or delete it.</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>You Don't Own This Dinner</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Error Accessing Dinner</h2>
<p>Sorry - but only the host of a Dinner can edit or delete it.</p>
</div>
</div>
</body>
</html>

View file

@ -1,28 +1,28 @@
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
<script src="/Scripts/Map.js" type="text/javascript"></script>
<div id="theMap" style="width:520px">
</div>
<script type="text/javascript">
$(document).ready(function() {
var latitude = <%=Model.Latitude %>;
var longitude = <%=Model.Longitude %>;
if ((latitude == 0) || (longitude == 0))
LoadMap();
else
LoadMap(latitude, longitude, mapLoaded);
});
function mapLoaded() {
var title = "<%= Html.Encode(Model.Title) %>";
var address = "<%= Html.Encode(Model.Address) %>";
LoadPin(center, title, address);
map.SetZoomLevel(14);
}
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
<script src="/Scripts/Map.js" type="text/javascript"></script>
<div id="theMap" style="width:520px">
</div>
<script type="text/javascript">
$(document).ready(function() {
var latitude = <%=Model.Latitude %>;
var longitude = <%=Model.Longitude %>;
if ((latitude == 0) || (longitude == 0))
LoadMap();
else
LoadMap(latitude, longitude, mapLoaded);
});
function mapLoaded() {
var title = "<%= Html.Encode(Model.Title) %>";
var address = "<%= Html.Encode(Model.Address) %>";
LoadPin(center, title, address);
map.SetZoomLevel(14);
}
</script>

View file

@ -1,29 +1,29 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Dinner Not Found</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Dinner Not Found</h2>
<p>Sorry - but the dinner you requested doesn't exist or was deleted.</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Dinner Not Found</title>
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
</head>
<body>
<div class="page">
<% Html.RenderPartial("header") %>
<div id="main">
<h2>Dinner Not Found</h2>
<p>Sorry - but the dinner you requested doesn't exist or was deleted.</p>
</div>
</div>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show more