اشتراک‌ها
معرفی ویژگی Hot Reload در .NET 6.0.

With .NET 6 Preview 3, you can use hot reloading with your ASP.NET Core apps. Hot reloading supercharges your productivity and allows you to see your changes in real-time. 

معرفی ویژگی Hot Reload در .NET 6.0.
اشتراک‌ها
درک بهتر websockets با aspnetcore

In this article, we will go through RFC 6455 WebSockets specification and configure a generic ASP.NET (Core) 5 application to communicate over WebSockets connection with SignalR. We will dive into the underlying concepts to understand what happens under the covers. 

درک بهتر websockets با aspnetcore
اشتراک‌ها
شخصی سازی صفحات خطا در ASP.NET MVC Core

Custom error pages in ASP.NET MVC Core


app.Use(async (ctx, next) =>
{
    await next();

    if(ctx.Response.StatusCode == 404 && !ctx.Response.HasStarted)
    {
        //Re-execute the request so the user gets the error page
        string originalPath = ctx.Request.Path.Value;
        ctx.Items["originalPath"] = originalPath;
        ctx.Request.Path = "/error/404";
        await next();
    }
});

 

شخصی سازی صفحات خطا در ASP.NET MVC Core
نظرات مطالب
امن سازی برنامه‌های ASP.NET Core توسط IdentityServer 4x - قسمت دوازدهم- یکپارچه سازی با اکانت گوگل
یک نکته‌ی تکمیلی
- گوگل، پلتفرم Google Plus را که برای تکمیل این قسمت از آن استفاده شده، در January 28th 2019 تعطیل می‌کند. جایگزین آن در اینجا بحث شده‌است: «Google+ based auth deprecation and replacement »