notes aspnet core - deventry/uosweb-docs-en GitHub Wiki

https://blogs.msdn.microsoft.com/dotnet/2016/07/15/net-core-roadmap/

https://blogs.msdn.microsoft.com/webdev/2016/06/27/announcing-asp-net-core-1-0/

https://blogs.msdn.microsoft.com/dotnet/2016/06/27/announcing-net-core-1-0/

http://mattwarren.org/2016/07/04/How-the-dotnet-CLI-tooling-runs-your-code/

https://docs.microsoft.com/teamblog/introducing-net-core-docs/

https://blogs.windows.com/msedgedev/2016/07/08/the-progress-of-web-apps/

http://dotnet.github.io/docs/core-concepts/libraries/libraries-with-cli.html

https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md

http://nblumhardt.com/2016/06/structured-logging-concepts-in-net-series-1/ https://nblumhardt.com/2016/06/events-and-levels-structured-logging-concepts-in-net-2/

http://dotnet.github.io/docs/core-concepts/index.html http://dotnet.github.io/docs/core-concepts/dnx-migration.html https://docs.asp.net/en/latest/migration/rc1-to-rc2.html

http://xunit.github.io/docs/getting-started-dotnet-core.html

http://www.strathweb.com/2016/04/request-islocal-in-asp-net-core/ https://github.com/aspnet/BasicMiddleware/blob/dev/src/Microsoft.AspNetCore.HttpOverrides/ForwardedHeadersMiddleware.cs#L18

#dnxcore50 when you need to find out the package for a namespace: https://packagesearch.azurewebsites.net/

http://rion.io/2015/11/13/understanding-routing-precedence-in-asp-net-mvc/

http://odetocode.com/blogs/scott/archive/2015/11/30/working-with-typed-headers-in-asp-net.aspx

http://dotnetliberty.com/index.php/2015/12/07/asp-net-5-web-api-faking-it-while-making-it/

http://blogs.msdn.com/b/webdev/archive/2015/11/18/announcing-asp-net-5-release-candidate-1.aspx

http://stackoverflow.com/questions/29048122/token-based-authentication-in-asp-net-5-vnext/29698502#29698502 http://stackoverflow.com/questions/33140360/getting-access-token

How to get IIS server variables: wonder if this will change in beta8 with thenew hosting model http://stackoverflow.com/questions/33088167/asp-5-servervariables

Policy based authorization cloudscribe should probably change to this approach to give more control over which roles claims or role names are used http://stackoverflow.com/questions/33076266/dynamically-add-roles-to-authorize-attribute-for-controller-in-asp-net-5

http://odetocode.com/blogs/scott/archive/2015/10/06/authorization-policies-and-middleware-in-asp-net-5.aspx

another good authorization question not yet answered http://stackoverflow.com/questions/33076063/resource-specific-authorization-in-asp-net-mvc-6

Really good article even if not converting something from web api to mvc6 http://www.dotnetcurry.com/aspnet-mvc/1149/convert-aspnet-webapi2-aspnet5-mvc6

We should follow the same engineering guidelines as Microsoft https://github.com/aspnet/Home/wiki/Engineering-guidelines#cross-platform-coding

Routing deep dive http://stephenwalther.com/archive/2015/02/07/asp-net-5-deep-dive-routing

http://www.jerriepelser.com/blog/using-enum-aspnet-5-select-taghelper

http://wildermuth.com/2015/09/27/A_Look_at_ASP_NET_5_Part_5_-_The_API

ASP.NET - ASP.NET 5 Anywhere with OmniSharp and Yeoman https://msdn.microsoft.com/en-us/magazine/mt573713

http://stackoverflow.com/questions/31194352/how-to-run-asp-net-mvc6-on-iis-without-publishing-application

http://stephenwalther.com/archive/2015/02/07/asp-net-5-deep-dive-routing

http://blogs.msdn.com/b/visualstudioalm/archive/2015/07/20/performance-and-diagnostic-tools-in-visual-studio-2015.aspx

http://shazwazza.com/post/aspnet-5-re-learning-a-few-things-part-1/ http://weblogs.asp.net/imranbaloch/aspnet-vnext-folder-structure

https://weblog.west-wind.com/posts/2015/Jun/03/Strongly-typed-AppSettings-Configuration-in-ASPNET-5

ViewComponents http://www.asp.net/vnext/overview/aspnet-vnext/vc

http://typecastexception.com/post/2015/05/17/DNVM-DNX-and-DNU-Understanding-the-ASPNET-5-Runtime-Options.aspx

http://www.strathweb.com/2015/02/overriding-filters-asp-net-mvc-6/

Microsoft.Framework.OptionsModel

http://shazwazza.com/post/using-aspnet5-optionsmodel/

http://www.strathweb.com/2015/06/action-filters-service-filters-type-filters-asp-net-5-mvc-6/

http://www.mikesdotnetting.com/Article/274/introducing-taghelpers-in-asp-net-mvc-6

http://www.mikesdotnetting.com/Article/275/custom-taghelpers-in-asp-net-mvc-6

http://blogs.msdn.com/b/msgulfcommunity/archive/2015/06/17/custom-tag-helpers-in-asp-net-5.aspx

http://www.davepaquette.com/archive/2015/06/22/creating-custom-mvc-6-tag-helpers.aspx

http://www.abhijainsblog.com/2015/05/tag-helpers-in-aspnet5.html

https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.TagHelpers/AnchorTagHelper.cs

http://xunit.github.io/docs/getting-started-dnx.html

http://www.strathweb.com/2015/02/overriding-filters-asp-net-mvc-6/ http://stackoverflow.com/questions/31237613/how-to-register-a-global-filter-with-mvc-6-asp-net-5

2014-11-15 it seems premature to try to build cloudscribe on vnext mainly because certain dependencies are not available yet such as log4net, mysql.data etc. supposedly you can use that if you target the desktop framework instead of core but it seems not to work. I can add a reference to MySql.Data via NuGet but it gives a build error the type or namespace cannot be found as if the reference was not there.

So, we will wait and make the needed changes soon after the final release of vnext aka aspnet 5, or until the needed dependencies are available.

from my review of aspnet vnext cloud optimized core, the things that will change will be:

the vs project files and solution structure new project.json files for projects instead of .csproj new wwwroot folder for web projects and only static files like js and css go below there, no code lives under there, files there are handled by static file handler only which is good security policy

no more global.asax - still supported in the full framework but not in the core cloud optimized framework no more App_Start folder with partial startup classes, Startup.cs in the project root has everything for app configuration, depency injection via ConfigureServices http://stackoverflow.com/questions/24998796/shouldnt-owinstartupattribute-run-before-global-asax-and-application-start http://stackoverflow.com/questions/20168978/do-i-need-a-global-asax-cs-file-at-all-if-im-using-an-owin-startup-cs-class-and

new VS integration client side utilities Bower and npm (to add client side libraries) http://bower.io/

https://www.npmjs.org/ node packaged modules sort of like client side nuget

http://gruntjs.com/ http://gruntjs.com/getting-started

The package.json file belongs in the root directory of your project, next to the gruntfile.js, and should be committed with your project source. Running npm install in the same folder as a package.json file will install the correct version of each dependency listed therein.

http://gulpjs.com/

unification of routing for mvc and web api only difference is for api there is no action just http verbs get, post, put,delete http://blogs.msdn.com/b/webdev/archive/2014/11/24/content-negotiation-in-mvc-5-or-how-can-i-just-write-json.aspx

app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{controller}/{action}/{id?}", defaults: new { controller = "Home", action = "Index" });

// Uncomment the following line to add a route for porting Web API 2 controllers.
// routes.MapWebApiRoute("DefaultApi", "api/{controller}/{id?}");

});

Razor view engine now has TagHelpers https://www.youtube.com/watch?v=Za89_-I25AI which gives more control over markup in the view as compared to htmlhelpers like EditorFor and DropdownListFor http://www.hanselman.com/blog/ASPNET5VNextWorkInProgressExploringTagHelpers.aspx

new concept of ViewComponents meant to replace child actions concept

new built in dependency injection which we will use instead of ninject // This method gets called by the runtime. public void ConfigureServices(IServiceCollection services) { // Add EF services to the services container. services.AddEntityFramework(Configuration) .AddSqlServer() .AddDbContext();

// Add Identity services to the services container.
services.AddDefaultIdentity<ApplicationDbContext, ApplicationUser, IdentityRole>(Configuration);

// Add MVC services to the services container.
services.AddMvc();

// Uncomment the following line to add Web API servcies which makes it easier to port Web API 2 controllers.
// You need to add Microsoft.AspNet.Mvc.WebApiCompatShim package to project.json
// services.AddWebApiConventions();

}

new configuration system, the old System.Configuration is still there but not sure it may be desktop framework only we will have to re-write some code perhaps but, the new lighter system seems very flexible you can have it look for multiple files and the last one has the top priority so we should be able to do similar kind of things as we did with appSettings in user.config in mojoportal new config classes can use json or xml

http://weblog.west-wind.com/posts/2015/Jun/03/Strongly-typed-AppSettings-Configuration-in-ASPNET-5

http://gunnarpeipman.com/2014/11/asp-net-5-new-configuration-files-and-containers/

http://davidzych.com/explaining-the-asp-net-5-configuration-framework/

http://nblumhardt.com/2015/05/diagnostic-logging-in-dnx-asp-net-5/ https://github.com/serilog/serilog-framework-logging

http://www.mikesdotnetting.com/article/269/asp-net-5-middleware-or-where-has-my-httpmodule-gone?PageSpeed=noscript

http://stackoverflow.com/questions/26957536/asp-net-5-error-management

DataTable and DataSet are gone http://stackoverflow.com/questions/27900493/asp-vnext-core-5-0-datatable

a lot of good posts here http://www.tugberkugurlu.com/

http://blogs.msdn.com/b/webdev/archive/2014/06/17/dependency-injection-in-asp-net-vnext.aspx

http://www.hanselman.com/blog/aspnetvnextaugust2014statusrollup.aspx

http://www.hanselman.com/blog/IntroducingASPNETVNext.aspx

http://www.visualstudio.com/en-us/downloads/visual-studio-14-ctp-vs.aspx

http://www.visualstudio.com/en-us/downloads/visual-studio-14-ctp-vs

http://www.asp.net/vnext/overview/aspnet-vnext/getting-started-with-aspnet-vnext-and-visual-studio

https://github.com/aspnet/Home/wiki/Assembly-Neutral-Interfaces

http://blogs.msdn.com/b/webdev/archive/2014/11/14/katana-asp-net-5-and-bridging-the-gap.aspx

Unsupported things currently for dnxcore50

System.Configuration we have to do away with ProviderBase and Provider Model

MvcSiteMapProvider - they plan to support but have not yet started any work, no-one on the project has time currently they say

none of the other db drivers works yet on dnxcore, just ms sql (supposedly also sqlite but it has errors for me) these should eventually be available

System.Data.SqlServerCe

DbProviderFactory seems to be not expected for use since it was not implemented in Microsoft.Data.Sqlite