Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Microsoft Silverlight for Windows Phone
Tech blogger
Microsoft Technical Community Speaker
 Introducing lightweight ASP.NET Core
• Deployment in Azure
A new open-source and cross-platform framework for building modern
cloud-based Web applications using .NET
Choose your Editors
and Tools
Open Source
with Contributions Cross-PlatformOSS
Seamless transition
from on-premises to clo...
ResponseRequest Middleware
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
app.UseWelcomePage();
}
}
app.Use(next =>
{
return async ctx =>
{
await ctx.Response.WriteAsync("Hello from USE");
await next(ctx);
};
});
app.Use(a...
public class MyMiddleware
{
private readonly RequestDelegate _next;
public MyMiddleware(RequestDelegate next)
{
_next = ne...
Facebook
Personal Blog
LinkedIn
http://LearnWithShahriar.wordpress.com
Thank You
Asp net core in azure
Asp net core in azure
Asp net core in azure
Asp net core in azure
Asp net core in azure
Asp net core in azure
Asp net core in azure
Asp net core in azure
Nächste SlideShare
Wird geladen in …5
×

Asp net core in azure

1.378 Aufrufe

Veröffentlicht am

Topic Discussed:
Introducing lightweight ASP.NET Core
Overview
Getting started
Middleware
Deployment in Azure

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

Asp net core in azure

  1. 1. Microsoft Silverlight for Windows Phone Tech blogger Microsoft Technical Community Speaker
  2. 2.  Introducing lightweight ASP.NET Core • Deployment in Azure
  3. 3. A new open-source and cross-platform framework for building modern cloud-based Web applications using .NET
  4. 4. Choose your Editors and Tools Open Source with Contributions Cross-PlatformOSS Seamless transition from on-premises to cloud Faster Development CycleTotally Modular Fast
  5. 5. ResponseRequest Middleware
  6. 6. public class Startup { public void Configure(IApplicationBuilder app) { app.UseStaticFiles(); app.UseWelcomePage(); } }
  7. 7. app.Use(next => { return async ctx => { await ctx.Response.WriteAsync("Hello from USE"); await next(ctx); }; }); app.Use(async (ctx, next) => { await ctx.Response.WriteAsync("Hello from USE"); await next(); }); app.Run(async ctx => { await ctx.Response.WriteAsync(“Hello from Run"); });
  8. 8. public class MyMiddleware { private readonly RequestDelegate _next; public MyMiddleware(RequestDelegate next) { _next = next; } public async Task Invoke(HttpContext context) { await context.Response.WriteAsync("Hello!"); await _next(context); } }
  9. 9. Facebook Personal Blog LinkedIn http://LearnWithShahriar.wordpress.com
  10. 10. Thank You

×