ASP.NET: Tailspin Spyworks

Part 1: File-> New Project

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-1

Part 2: Data Access Layer

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-2

Part 3: Layout and Category Menu

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-3

Part 4: Listing Products

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-4

Part 5: Business Logic

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-5

Part 6: ASP.NET Membership

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-6

Part 7: Adding Features

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-7

Part 8: Final Pages, Exception Handling, and Conclusion

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/tailspin-spyworks/tailspin-spyworks-part-8

Conclusion

We've seen that that ASP.NET WebForms makes it easy to create a sophisticated website with database access, membership, AJAX, etc. pretty quickly.

Hopefully this tutorial has given you the tools you need to get started building your own ASP.NET WebForms applications!

ASP.NET MVC 3: MVC Music Store

Source Code: http://mvcmusicstore.codeplex.com/

Part 1: Overview and File->New Project

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-1

Part 2: Controllers

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-2

Part 3: Views and ViewModels

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-3

Part 4: Models and Data Access

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-4

Part 5: Edit Forms and Templating

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-5

Using a custom HTML Helper to truncate text

Read more here

Part 6: Using Data Annotations for Model Validation

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-6

Part 7: Membership and Authorization

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-7

Part 8: Shopping Cart with Ajax Updates

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-8

Part 9: Registration and Checkout

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-9

Part 10: Final Updates to Navigation and Site Design, Conclusion

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-10

Upgrade from ASP.NET MVC 4

https://docs.microsoft.com/en-us/aspnet/mvc/overview/releases/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2

Using OAuth Providers with MVC 5

https://docs.microsoft.com/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on

Using OAuth Providers with MVC 4

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/using-oauth-providers-with-mvc

Registering with an external provider

To authenticate users with credentials from an external provider, you must register your web site with the provider. When you register your site, you will receive the parameters (such as key or id, and secret) to include when registering the client. You must have an account with the providers you wish to use.

This tutorial does not show all of the steps you must perform to register with these providers. The steps are typically not difficult. To successfully register your site, follow the instructions provided on those sites. To get started with registering your site, see the developer site for:

ASP.NET MVC 5

https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/

ASP.NET MVC 5.1 and Web API 2.1

Part 1: Overview and Enums 

https://weblogs.asp.net/jongalloway/asp-net-web-api-screencast-series-with-downloadable-sample-code-part-1

Part 2: Attribute Routing with Custom Constraints

https://weblogs.asp.net/jongalloway/looking-at-asp-net-mvc-5-1-and-web-api-2-1-part-2-attribute-routing-with-custom-constraints

Part 3: Bootstrap and JavaScript enhancements

https://weblogs.asp.net/jongalloway/looking-at-asp-net-mvc-5-1-and-web-api-2-1-part-3-bootstrap-and-javascript-enhancements

Part 4: Web API Help Pages, BSON, and Global Error Handling

https://weblogs.asp.net/jongalloway/looking-at-asp-net-mvc-5-1-and-web-api-2-1-part-4-web-api-help-pages-bson-and-global-error-handling

Samples for ASP.NET MVC 5.1 and Web API 2.1 blog posts

https://github.com/jongalloway/StarDotOne

PersonApi

API

Description

GET api/PersonApi

Returns all people in the system.

GET api/PersonApi/{id}

Gets one specific person.

PUT api/PersonApi/{id}

Puts the person.

POST api/PersonApi

Posts the person.

DELETE api/PersonApi/{id}

Deletes the person.

BoringDataApi

API

Description

GET api/BoringDataApi

No documentation available.

Values

API

Description

GET api/Values

No documentation available.

GET api/Values/{id}

No documentation available.

POST api/Values

No documentation available.

PUT api/Values/{id}

No documentation available.

DELETE api/Values/{id}

No documentation available.

 

Deploy

Database

Web Deploy

Physical Path

Web.config

            <connectionStrings>

                <add name="StarDotOneContext" connectionString="Data Source=(localdb)\v11.0; Initial Catalog=StarDotOneContext-20140120171945; Integrated Security=True; MultipleActiveResultSets=True; AttachDbFilename=|DataDirectory|StarDotOneContext-20140120171945.mdf" providerName="System.Data.SqlClient" />

            </connectionStrings>

ApplicationHost.config

C:\inetpub\wwwroot\StarDotOne>notepad C:\Windows\System32\inetsrv\config\applicationHost.config

            <add name="StarDotOne">

                <processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="true" />

            </add>

YouTube Data API

https://developers.google.com/youtube/v3/docs/

https://developers.google.com/youtube/v3/guides/authentication

https://developers.google.com/youtube/v3/code_samples/dotnet