Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
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
Prochain SlideShare
Chargement dans…5
×

Asp net core in azure

1 342 vues

Publié le

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

Publié dans : Technologie
  • Soyez le premier à commenter

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

×