Permalink
Browse files

code drop

  • Loading branch information...
1 parent 404ff75 commit c4f879104b9a5684833b3cf0a9c1d2af9a994d0b @mpodonyi committed Feb 14, 2012
View
4 src/Yom.Web/Controllers/AccountController.cs
@@ -190,7 +190,7 @@ public ActionResult LogOn(string openid_identifier, string returnUrl)
FormsAuthentication.SetAuthCookie(response.ClaimedIdentifier, true);
//FormsService.SignIn(response.ClaimedIdentifier, false /* createPersistentCookie */);
- return RedirectToAction("Index", "home");
+ return RedirectToAction("Details", "home");
}
ViewData["Message"] = "Error creating new user";
return View();
@@ -204,7 +204,7 @@ public ActionResult LogOn(string openid_identifier, string returnUrl)
return Redirect(returnUrl);
}
- return RedirectToAction("Index", "Home");
+ return RedirectToAction("Details", "Home");
case AuthenticationStatus.Canceled:
ViewData["Message"] = "Canceled at provider";
return View();
View
11 src/Yom.Web/Controllers/HomeController.cs
@@ -3,13 +3,17 @@
using System.Linq;
using System.Web;
using System.Web.Mvc;
+using System.Web.Security;
namespace Yom.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
+ if (Membership.GetUser() != null)
+ return RedirectToAction("Details");
+
ViewBag.Message = "Welcome to ASP.NET MVC!";
return View();
@@ -20,6 +24,13 @@ public ActionResult About()
return View();
}
+ public ActionResult Details()
+ {
+
+
+ return View();
+ }
+
}
}
View
85 src/Yom.Web/Views/Account/LogOn.cshtml
@@ -2,49 +2,56 @@
Layout = "~/Views/Shared/_Layout.Mobile.cshtml";
ViewBag.Title = "Authenticate";
}
-<h2>
- Sign In to YOM
-</h2>
-<p>
- Welcome to YOM (You Owe Me). Yom has the following features:
-</p>
-<dl title="Feature list">
- <dt>Debts</dt>
- <dd>
- Tracks information about who owes you money and how much. Keeps track about your
- debts.</dd>
- <dt>Reconciliation</dt>
- <dd>
- Tracks information about who pays his debts and if your debts are payed.</dd>
-</dl>
-@*<p>
+<div data-role="page" id="one">
+ <div data-role="header">
+ <h1>
+ Sign In to YOM
+ </h1>
+ </div>
+ <!-- /header -->
+ <div data-role="content">
+ <p>
+ Welcome to YOM (You Owe Me). Yom has the following features:
+ </p>
+ <dl title="Feature list">
+ <dt>Debts</dt>
+ <dd>
+ Tracks information about who owes you money and how much. Keeps track about your
+ debts.</dd>
+ <dt>Reconciliation</dt>
+ <dd>
+ Tracks information about who pays his debts and if your debts are payed.</dd>
+ </dl>
+ @*<p>
Please enter your username and password. <%: Html.ActionLink("Register", "Register") %> if you don't have an account.
</p>*@
-@using (Html.BeginForm(null, null, new { returnUrl = Request.QueryString["returnUrl"] }, FormMethod.Post, new { id = "openid_form", data_ajax = "false" }))
-{
- @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
- <div>
- <fieldset>
- <legend>Account Information</legend>
- <div class="openid_choice">
- <p>
- Please click your account provider:</p>
- <div id="openid_btns">
- </div>
- </div>
- <div id="openid_input_area">
- @Html.TextBox("openid_identifier")
- <input type="submit" value="Log On" />
+ @using (Html.BeginForm(null, null, new { returnUrl = Request.QueryString["returnUrl"] }, FormMethod.Post, new { id = "openid_form", data_ajax = "false" }))
+ {
+ @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
+ <div>
+ <fieldset>
+ <legend>Account Information</legend>
+ <div class="openid_choice">
+ <p>
+ Please click your account provider:</p>
+ <div id="openid_btns">
+ </div>
+ </div>
+ <div id="openid_input_area">
+ @Html.TextBox("openid_identifier")
+ <input type="submit" value="Log On" />
+ </div>
+ <noscript>
+ <p>
+ OpenID is service that allows you to log-on to many different websites using a single
+ indentity. Find out <a href="http://openid.net/what/">more about OpenID</a> and
+ <a href="http://openid.net/get/">how to get an OpenID enabled account</a>.</p>
+ </noscript>
+ </fieldset>
</div>
- <noscript>
- <p>
- OpenID is service that allows you to log-on to many different websites using a single
- indentity. Find out <a href="http://openid.net/what/">more about OpenID</a> and
- <a href="http://openid.net/get/">how to get an OpenID enabled account</a>.</p>
- </noscript>
- </fieldset>
+ }
</div>
-}
+</div>
@section JSContent{
<script type="text/javascript" src="@Url.Content("~/Scripts/openid-jquery.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/openid-en.js")"></script>
View
52 src/Yom.Web/Views/Home/Details.cshtml
@@ -0,0 +1,52 @@
+@{
+ Layout = "~/Views/Shared/_Layout.Mobile.cshtml";
+}
+<!-- Start of first page: #one -->
+<div data-role="page" id="one">
+ <div data-role="header">
+ @RenderPage("~/Views/Shared/DefaultHeader.Mobile.cshtml")
+ </div>
+ <!-- /header -->
+ <div data-role="content">
+ <fieldset class="ui-grid-a">
+ <legend></legend>
+ <div class="ui-block-a">
+ <a href="#owe" data-role="button">Owe</a>
+ </div>
+ <div class="ui-block-b">
+ <a href="#pay" data-role="button">Pay</a>
+ </div>
+ <div class="ui-block-a">
+ <a href="#report" data-role="button">Report</a></div>
+ </fieldset>
+ </div>
+ <!-- /content -->
+ <div data-role="footer" data-theme="d">
+ <h4>
+ Page Footer</h4>
+ </div>
+ <!-- /footer -->
+</div>
+<!-- /page one -->
+<!-- Start of second page: #two -->
+<div data-role="page" id="owe" >
+ <div data-role="header">
+ @RenderPage("~/Views/Shared/DefaultHeader.Mobile.cshtml")
+ </div>
+ <!-- /header -->
+ <div data-role="content" >
+ <ul data-role="listview" data-inset="true">
+ <li>@Html.ActionLink("You Owe Me Money","Create","YouOweMe")</li>
+ </ul>
+ @*@Html.ActionLink("You Owe Me", "Create", "YouOweMe", null, new { data_role = "button" })*@
+ </div>
+ <!-- /content -->
+ <div data-role="footer">
+ <h4>
+ Page Footer</h4>
+ </div>
+ <!-- /footer -->
+</div>
+<!-- /page two -->
+<!-- Start of third page: #popup -->
+
View
60 src/Yom.Web/Views/Home/Index.cshtml
@@ -1,52 +1,24 @@
@{
Layout = "~/Views/Shared/_Layout.Mobile.cshtml";
}
-<!-- Start of first page: #one -->
-<div data-role="page" id="one">
+<div data-role="page">
<div data-role="header">
- @RenderPage("~/Views/Shared/DefaultHeader.Mobile.cshtml")
+ <h1>test</h1>
</div>
- <!-- /header -->
<div data-role="content">
- <fieldset class="ui-grid-a">
- <legend></legend>
- <div class="ui-block-a">
- <a href="#owe" data-role="button">Owe</a>
- </div>
- <div class="ui-block-b">
- <a href="#pay" data-role="button">Pay</a>
- </div>
- <div class="ui-block-a">
- <a href="#report" data-role="button">Report</a></div>
- </fieldset>
- </div>
- <!-- /content -->
- <div data-role="footer" data-theme="d">
- <h4>
- Page Footer</h4>
- </div>
- <!-- /footer -->
-</div>
-<!-- /page one -->
-<!-- Start of second page: #two -->
-<div data-role="page" id="owe" >
- <div data-role="header">
- @RenderPage("~/Views/Shared/DefaultHeader.Mobile.cshtml")
- </div>
- <!-- /header -->
- <div data-role="content" >
- <ul data-role="listview" data-inset="true">
- <li>@Html.ActionLink("You Owe Me Money","Create","YouOweMe")</li>
- </ul>
- @*@Html.ActionLink("You Owe Me", "Create", "YouOweMe", null, new { data_role = "button" })*@
- </div>
- <!-- /content -->
- <div data-role="footer">
- <h4>
- Page Footer</h4>
+ <p>
+ Welcome to YOM (You Owe Me). Yom has the following features:
+ </p>
+ <dl title="Feature list">
+ <dt>Debts</dt>
+ <dd>
+ Tracks information about who owes you money and how much. Keeps track about your
+ debts.</dd>
+ <dt>Reconciliation</dt>
+ <dd>
+ Tracks information about who pays his debts and if your debts are payed.</dd>
+ </dl>
+
+ @Html.ActionLink("Log On", "LogOn", "Account", null, new { data_role="button", data_ajax="false"})
</div>
- <!-- /footer -->
</div>
-<!-- /page two -->
-<!-- Start of third page: #popup -->
-
View
2 src/Yom.Web/Views/Shared/DefaultHeader.Mobile.cshtml
@@ -1,4 +1,4 @@
-<a href="@Url.Action("Index", "Home")" data-icon="home" class="ui-btn-left" data-ajax="false" >Home</a>
+<a href="@Url.Action("Details", "Home")" data-icon="home" class="ui-btn-left" data-ajax="false" >Home</a>
<h1>
Page Titlex</h1>
<a href="@Url.Action("LogOff", "Account")" class="ui-btn-right" data-ajax="false">Logout</a>
View
6 src/Yom.Web/Views/Shared/_Layout.Result.Mobile.cshtml
@@ -2,13 +2,11 @@
Layout = "~/Views/Shared/_Layout.Mobile.cshtml";
}
<div data-role="page">
- <div data-role="header">
- </div>
+
<!-- /header -->
<div data-role="content">
@RenderBody()
</div>
<!-- /content -->
- <div data-role="footer">
- </div>
+
</div>
View
4 src/Yom.Web/Views/Shared/_Layout.Single.Mobile.cshtml
@@ -19,7 +19,7 @@
@RenderBody()
</div>
<!-- /content -->
- <div data-role="footer" >
- </div>
+ @*<div data-role="footer" >
+ </div>*@
<!-- /footer -->
</div>
View
289 src/Yom.Web/Web.config
@@ -4,153 +4,174 @@
http://go.microsoft.com/fwlink/?LinkId=152368
-->
<configuration>
- <configSections>
- <!--<section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />-->
- <section name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection" requirePermission="false" allowLocation="true" />
- </configSections>
- <connectionStrings>
- <add name="YomContainer" connectionString="data source=.;initial catalog=Yom;User ID=sa;Password=2cx0mbs;App=EntityFramework"
- providerName="System.Data.SqlClient" />
- </connectionStrings>
- <appSettings>
- <add key="webpages:Version" value="1.0.0.0" />
- <add key="ClientValidationEnabled" value="true" />
- <add key="UnobtrusiveJavaScriptEnabled" value="true" />
- </appSettings>
- <location path="Scripts">
- <system.web>
- <authorization>
- <allow users="*" />
- </authorization>
- </system.web>
- </location>
- <location path="Content">
- <system.web>
- <authorization>
- <allow users="*" />
- </authorization>
- </system.web>
- </location>
- <location path="Test.aspx" allowOverride="false">
+ <configSections>
+ <!--<section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />-->
+ <section name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection" requirePermission="false" allowLocation="true" />
+ </configSections>
+ <connectionStrings>
+ <add name="YomContainer" connectionString="data source=.;initial catalog=Yom;User ID=sa;Password=2cx0mbs;App=EntityFramework"
+ providerName="System.Data.SqlClient" />
+ </connectionStrings>
+ <appSettings>
+ <add key="webpages:Version" value="1.0.0.0" />
+ <add key="ClientValidationEnabled" value="true" />
+ <add key="UnobtrusiveJavaScriptEnabled" value="true" />
+ </appSettings>
+
+
+
+ <location path="Scripts">
+ <system.web>
+ <authorization>
+ <allow users="*" />
+ </authorization>
+ </system.web>
+ </location>
+ <location path="Content">
+ <system.web>
+ <authorization>
+ <allow users="*" />
+ </authorization>
+ </system.web>
+ </location>
+ <location path="Test.aspx" >
+ <system.web>
+ <authorization>
+ <allow users="*" />
+ </authorization>
+ </system.web>
+ </location>
+ <location path="Default.aspx" >
+ <system.web>
+ <authorization>
+ <allow users="*" />
+ </authorization>
+ </system.web>
+ </location>
+ <location path="Home/Index" >
+ <system.web>
+ <authorization>
+ <allow users="*" />
+ </authorization>
+ </system.web>
+ </location>
+ <location path="favicon.ico">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
- <location path="favicon.ico">
+
+
+
+
<system.web>
- <authorization>
- <allow users="*" />
- </authorization>
+ <customErrors mode="Off"/>
+ <compilation debug="true" targetFramework="4.0">
+ <assemblies>
+ <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
+ <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
+ <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
+ <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
+ <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
+ <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ </assemblies>
+ </compilation>
+ <authentication mode="Forms">
+ <forms loginUrl="~/Account/LogOn" timeout="2880" />
+ </authentication>
+ <authorization>
+ <deny users="?" />
+ </authorization>
+ <membership>
+ <providers>
+ <clear />
+ <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="YomContainer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
+ </providers>
+ </membership>
+ <profile>
+ <providers>
+ <clear />
+ <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="YomContainer" applicationName="/" />
+ </providers>
+ </profile>
+ <roleManager enabled="false">
+ <providers>
+ <clear />
+ <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="YomContainer" applicationName="/" />
+ <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
+ </providers>
+ </roleManager>
+ <pages>
+ <namespaces>
+ <add namespace="System.Web.Helpers" />
+ <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.Web.WebPages" />
+ </namespaces>
+ </pages>
</system.web>
- </location>
- <system.web>
- <customErrors mode="Off"/>
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
- </assemblies>
- </compilation>
- <authentication mode="Forms">
- <forms loginUrl="~/Account/LogOn" timeout="2880" />
- </authentication>
- <authorization>
- <deny users="?" />
- </authorization>
- <membership>
- <providers>
- <clear />
- <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="YomContainer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
- </providers>
- </membership>
- <profile>
- <providers>
- <clear />
- <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="YomContainer" applicationName="/" />
- </providers>
- </profile>
- <roleManager enabled="false">
- <providers>
- <clear />
- <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="YomContainer" applicationName="/" />
- <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
- </providers>
- </roleManager>
- <pages>
- <namespaces>
- <add namespace="System.Web.Helpers" />
- <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.Web.WebPages" />
- </namespaces>
- </pages>
- </system.web>
- <system.webServer>
- <validation validateIntegratedModeConfiguration="false" />
- <modules runAllManagedModulesForAllRequests="true" />
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
- <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- <legacyHMACWarning enabled="0" />
- </runtime>
- <uri>
- <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names),
+ <system.webServer>
+ <validation validateIntegratedModeConfiguration="false" />
+ <modules runAllManagedModulesForAllRequests="true" />
+ </system.webServer>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
+ <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
+ <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ <legacyHMACWarning enabled="0" />
+ </runtime>
+ <uri>
+ <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names),
which is necessary for OpenID urls with unicode characters in the domain/host name.
It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. -->
- <idn enabled="All" />
- <iriParsing enabled="true" />
- </uri>
- <system.net>
- <defaultProxy enabled="true" />
- <settings>
- <!-- This setting causes .NET to check certificate revocation lists (CRL)
+ <idn enabled="All" />
+ <iriParsing enabled="true" />
+ </uri>
+ <system.net>
+ <defaultProxy enabled="true" />
+ <settings>
+ <!-- This setting causes .NET to check certificate revocation lists (CRL)
before trusting HTTPS certificates. But this setting tends to not
be allowed in shared hosting environments. -->
- <!--<servicePointManager checkCertificateRevocationList="true"/>-->
- </settings>
- </system.net>
- <dotNetOpenAuth>
- <!-- This is an optional configuration section where aspects of dotnetopenauth can be customized. -->
- <!-- For a complete set of configuration options see http://www.dotnetopenauth.net/developers/code-snippets/configuration-options/ -->
- <!-- You may also refer to README.Bin.html for instructions on enabling Intellisense for this section. -->
- <openid>
- <relyingParty>
- <security requireSsl="false">
- <!-- Uncomment the trustedProviders tag if your relying party should only accept positive assertions from a closed set of OpenID Providers. -->
- <!--<trustedProviders rejectAssertionsFromUntrustedProviders="true">
+ <!--<servicePointManager checkCertificateRevocationList="true"/>-->
+ </settings>
+ </system.net>
+ <dotNetOpenAuth>
+ <!-- This is an optional configuration section where aspects of dotnetopenauth can be customized. -->
+ <!-- For a complete set of configuration options see http://www.dotnetopenauth.net/developers/code-snippets/configuration-options/ -->
+ <!-- You may also refer to README.Bin.html for instructions on enabling Intellisense for this section. -->
+ <openid>
+ <relyingParty>
+ <security requireSsl="false">
+ <!-- Uncomment the trustedProviders tag if your relying party should only accept positive assertions from a closed set of OpenID Providers. -->
+ <!--<trustedProviders rejectAssertionsFromUntrustedProviders="true">
<add endpoint="https://www.google.com/accounts/o8/ud" />
</trustedProviders>-->
- </security>
- <behaviors>
- <!-- The following OPTIONAL behavior allows RPs to use SREG only, but be compatible
+ </security>
+ <behaviors>
+ <!-- The following OPTIONAL behavior allows RPs to use SREG only, but be compatible
with OPs that use Attribute Exchange (in various formats). -->
- <add type="DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform, DotNetOpenAuth" />
- </behaviors>
- </relyingParty>
- </openid>
- <messaging>
- <untrustedWebRequest>
- <whitelistHosts>
- <!-- Uncomment to enable communication with localhost (should generally not activate in production!) -->
- <!--<add name="localhost" />-->
- </whitelistHosts>
- </untrustedWebRequest>
- </messaging>
- <!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. -->
- <reporting enabled="true" />
- </dotNetOpenAuth>
+ <add type="DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform, DotNetOpenAuth" />
+ </behaviors>
+ </relyingParty>
+ </openid>
+ <messaging>
+ <untrustedWebRequest>
+ <whitelistHosts>
+ <!-- Uncomment to enable communication with localhost (should generally not activate in production!) -->
+ <!--<add name="localhost" />-->
+ </whitelistHosts>
+ </untrustedWebRequest>
+ </messaging>
+ <!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. -->
+ <reporting enabled="true" />
+ </dotNetOpenAuth>
</configuration>
View
19 src/Yom.Web/Yom.Web.csproj
@@ -98,6 +98,13 @@
<Compile Include="Controllers\ReferenceUserController.cs" />
<Compile Include="Controllers\ManagementController.cs" />
<Compile Include="Controllers\YouOweMeController.cs" />
+ <Compile Include="default.aspx.cs">
+ <DependentUpon>default.aspx</DependentUpon>
+ <SubType>ASPXCodeBehind</SubType>
+ </Compile>
+ <Compile Include="default.aspx.designer.cs">
+ <DependentUpon>default.aspx</DependentUpon>
+ </Compile>
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
@@ -126,13 +133,6 @@
<Compile Include="Test.aspx.designer.cs">
<DependentUpon>Test.aspx</DependentUpon>
</Compile>
- <Compile Include="WebForm1.aspx.cs">
- <DependentUpon>WebForm1.aspx</DependentUpon>
- <SubType>ASPXCodeBehind</SubType>
- </Compile>
- <Compile Include="WebForm1.aspx.designer.cs">
- <DependentUpon>WebForm1.aspx</DependentUpon>
- </Compile>
</ItemGroup>
<ItemGroup>
<Content Include="Content\images\ajax-loader.png" />
@@ -205,6 +205,7 @@
<Content Include="Content\themes\base\minified\jquery.ui.slider.min.css" />
<Content Include="Content\themes\base\minified\jquery.ui.tabs.min.css" />
<Content Include="Content\themes\base\minified\jquery.ui.theme.min.css" />
+ <Content Include="default.aspx" />
<Content Include="Global.asax" />
<Content Include="Scripts\jquery-1.6.4-vsdoc.js" />
<Content Include="Scripts\jquery-1.6.4.js" />
@@ -254,7 +255,6 @@
<Content Include="Views\Shared\_LogOnPartial.cshtml" />
<Content Include="Views\Shared\_Layout.cshtml" />
<Content Include="Views\Web.config" />
- <Content Include="WebForm1.aspx" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Yom.Lib\Yom.Lib.csproj">
@@ -279,6 +279,7 @@
<Content Include="Views\Shared\EditorTemplates\Decimal.cshtml" />
<Content Include="Views\YouOweMe\Success.cshtml" />
<Content Include="Views\Shared\_Layout.Result.Mobile.cshtml" />
+ <Content Include="Views\Home\Details.cshtml" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
@@ -302,7 +303,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>3260</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
- <IISUrl>http://localhost:3260/</IISUrl>
+ <IISUrl>http://localhost:3260/Yom</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
View
2 src/Yom.Web/WebForm1.aspx → src/Yom.Web/default.aspx
@@ -1,4 +1,4 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Yom.Web.WebForm1" %>
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Yom.Web.Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
View
3 src/Yom.Web/WebForm1.aspx.cs → src/Yom.Web/default.aspx.cs
@@ -7,10 +7,11 @@
namespace Yom.Web
{
- public partial class WebForm1 : System.Web.UI.Page
+ public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
+ Response.Redirect("~/Home/Index");
}
}
View
2 src/Yom.Web/WebForm1.aspx.designer.cs → src/Yom.Web/default.aspx.designer.cs
@@ -11,7 +11,7 @@ namespace Yom.Web
{
- public partial class WebForm1
+ public partial class Default
{
/// <summary>

0 comments on commit c4f8791

Please sign in to comment.