Permalink
Browse files

First Commit

  • Loading branch information...
imranbaloch committed Dec 29, 2012
1 parent 07aa8a0 commit cc15177e8837cb1203a0bd813d126011e09dbef3
Showing 511 changed files with 306,557 additions and 0 deletions.
@@ -0,0 +1,26 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASPNETAndEmbededResources", "ASPNETAndEmbededResources\ASPNETAndEmbededResources.csproj", "{DD894161-B8E1-4481-A169-A41094935D12}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleHelper", "SampleHelper\SampleHelper.csproj", "{4DBAA365-AD2A-4C2C-8EF1-EC580A4E8836}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {DD894161-B8E1-4481-A169-A41094935D12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DD894161-B8E1-4481-A169-A41094935D12}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DD894161-B8E1-4481-A169-A41094935D12}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DD894161-B8E1-4481-A169-A41094935D12}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4DBAA365-AD2A-4C2C-8EF1-EC580A4E8836}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4DBAA365-AD2A-4C2C-8EF1-EC580A4E8836}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4DBAA365-AD2A-4C2C-8EF1-EC580A4E8836}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4DBAA365-AD2A-4C2C-8EF1-EC580A4E8836}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <StartPageUrl>
+ </StartPageUrl>
+ <StartAction>SpecificPage</StartAction>
+ <AspNetDebugging>True</AspNetDebugging>
+ <SilverlightDebugging>False</SilverlightDebugging>
+ <NativeDebugging>False</NativeDebugging>
+ <SQLDebugging>False</SQLDebugging>
+ <ExternalProgram>
+ </ExternalProgram>
+ <StartExternalURL>
+ </StartExternalURL>
+ <StartCmdLineArguments>
+ </StartCmdLineArguments>
+ <StartWorkingDirectory>
+ </StartWorkingDirectory>
+ <EnableENC>False</EnableENC>
+ <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+</Project>
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Microsoft.Web.WebPages.OAuth;
+using ASPNETAndEmbededResources.Models;
+
+namespace ASPNETAndEmbededResources
+{
+ public static class AuthConfig
+ {
+ public static void RegisterAuth()
+ {
+ // To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, and Twitter,
+ // you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=252166
+
+ //OAuthWebSecurity.RegisterMicrosoftClient(
+ // clientId: "",
+ // clientSecret: "");
+
+ //OAuthWebSecurity.RegisterTwitterClient(
+ // consumerKey: "",
+ // consumerSecret: "");
+
+ //OAuthWebSecurity.RegisterFacebookClient(
+ // appId: "",
+ // appSecret: "");
+
+ //OAuthWebSecurity.RegisterGoogleClient();
+ }
+ }
+}
@@ -0,0 +1,45 @@
+using System.Web;
+using System.Web.Optimization;
+
+namespace ASPNETAndEmbededResources
+{
+ public class BundleConfig
+ {
+ // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
+ public static void RegisterBundles(BundleCollection bundles)
+ {
+ BundleTable.EnableOptimizations = true;
+
+ bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
+ "~/Scripts/jquery-{version}.js"));
+
+ bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
+ "~/Scripts/jquery-ui-{version}.js"));
+
+ bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
+ "~/Scripts/jquery.unobtrusive*",
+ "~/Scripts/jquery.validate*"));
+
+ // Use the development version of Modernizr to develop with and learn from. Then, when you're
+ // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
+ bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
+ "~/Scripts/modernizr-*"));
+
+ bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
+
+ bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
+ "~/Content/themes/base/jquery.ui.core.css",
+ "~/Content/themes/base/jquery.ui.resizable.css",
+ "~/Content/themes/base/jquery.ui.selectable.css",
+ "~/Content/themes/base/jquery.ui.accordion.css",
+ "~/Content/themes/base/jquery.ui.autocomplete.css",
+ "~/Content/themes/base/jquery.ui.button.css",
+ "~/Content/themes/base/jquery.ui.dialog.css",
+ "~/Content/themes/base/jquery.ui.slider.css",
+ "~/Content/themes/base/jquery.ui.tabs.css",
+ "~/Content/themes/base/jquery.ui.datepicker.css",
+ "~/Content/themes/base/jquery.ui.progressbar.css",
+ "~/Content/themes/base/jquery.ui.theme.css"));
+ }
+ }
+}
@@ -0,0 +1,13 @@
+using System.Web;
+using System.Web.Mvc;
+
+namespace ASPNETAndEmbededResources
+{
+ public class FilterConfig
+ {
+ public static void RegisterGlobalFilters(GlobalFilterCollection filters)
+ {
+ filters.Add(new HandleErrorAttribute());
+ }
+ }
+}
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using System.Web.Routing;
+
+namespace ASPNETAndEmbededResources
+{
+ public class RouteConfig
+ {
+ public static void RegisterRoutes(RouteCollection routes)
+ {
+ routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
+
+ routes.MapRoute(
+ name: "Default",
+ url: "{controller}/{action}/{id}",
+ defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
+ );
+ }
+ }
+}
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web.Http;
+
+namespace ASPNETAndEmbededResources
+{
+ public static class WebApiConfig
+ {
+ public static void Register(HttpConfiguration config)
+ {
+ config.Routes.MapHttpRoute(
+ name: "DefaultApi",
+ routeTemplate: "api/{controller}/{id}",
+ defaults: new { id = RouteParameter.Optional }
+ );
+
+ config.EnableQuerySupport();
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit cc15177

Please sign in to comment.