@manhng

Welcome to my blog!

Backup and Restore Database

March 23, 2022 08:55

Backup and Restore SQL Server database (edit)

Backup and Restore SQL Server database (.bak) using C# .NET | by Joe Moceri | Dev Genius

joemoceri/database-toolkit (github.com)

doanhnghiepvn/database-toolkit (github.com)

Backup & Restore

Creating SQL Server Backup File With C# (c-sharpcorner.com)

How to Restore Database Backup in SQL Server 2012 (c-sharpcorner.com)

Restore SQL Server Backup File With C# (c-sharpcorner.com)

Backup and Restore SQL Server database

  1. Microsoft.SqlServer.Smo
  2. Microsoft.SqlServer.SmoExtended
  3. Microsoft.SqlServer.ConnectionInfo
  4. Microsoft.SqlServer.Management.Sdk.Sfc
using Microsoft.SqlServer.Management.Smo;
using Microsoft.SqlServer.Management.Common;

SQL Server Database Backup and Restore in C# .NET | Omarsoft For IT Solutions (omarsoft-ye.com)

SQL Server Database Backup and Restore in C# - CodeProject

Backup and Restore SQL Server database

isaacbegit/How-to-Backup-Restore-SQL-Server-database-in-your-Application: Backup and restore database feature in your application is very important feature that can be add in your application to easy make these operation by your clients who uses your application , let me discuss how it’s easy to develop this feature (github.com)

doanhnghiepvn/How-to-Backup-Restore-SQL-Server-database-in-your-Application: Backup and restore database feature in your application is very important feature that can be add in your application to easy make these operation by your clients who uses your application , let me discuss how it’s easy to develop this feature (github.com)

Backup and Restore MySQL database

Backup and Restore MySQL database (.sql) using C# .NET | by Joe Moceri | Dev Genius

Task Run with Async/Await

Tips for Using Task.Run With Async/Await | by M B A R K | Mar, 2022 | Medium

ASP.NET Web API 2

Implement Swagger UI In ASP.NET Web API Restful Service For Documentation Using Swashbuckle (c-sharpcorner.com)

ASP.NET Web API 2 Documentation And Testing Using Swashbuckle/ Swagger (c-sharpcorner.com)

Clean Architecture With .NET 6

Clean Architecture With .NET 6 Using Entity Framework (c-sharpcorner.com)

ASP.NET Web API 2

December 29, 2021 23:33

ASP.NET Web API 2 (edit)

Get Started with ASP.NET Web API 2 (C#) - ASP.NET 4.x | Microsoft Docs

Build RESTful APIs with ASP.NET Web API - ASP.NET 4.x | Microsoft Docs

Lifecycle of ASP.net Web API Message (c-sharpcorner.com)

Lifecycle of an ASP.NET Web API Message | DotNetCurry

Config camleCase for property name

ASP.NET Web Api - Setup JSON Camel Cased Fields | Justin James (digitaldrummerj.me)

ASP.NET Web API – Returning javascript friendly (camelcase) json in two lines of code – DanielTammadge.com

c# - Web API 2: how to return JSON with camelCased property names, on objects and their sub-objects - Stack Overflow

Cross-Origin Resource Sharing (CORS)

SupportsCredentials = true

Enabling Cross-Origin Requests in ASP.NET Web API 2 | Microsoft Docs

[EnableCors(origins: "http://myclient.azurewebsites.net", headers: "*", methods: "*", SupportsCredentials = true)]

What is the life cycle of web api explain briefly?

When we send a request, the following process will return a response.

HTTP Message Handler -> Delegating Handler-> Routing Dispatcher-> Controllers-> Controller Action-> Result Conversion

The following links for your reference.

ASP.NET WEB API 2: HTTP MESSAGE LIFECYLE
https://www.asp.net/media/4071077/aspnet-web-api-poster.pdf

Lifecycle of an ASP.NET Web API Message
http://www.dotnetcurry.com/aspnet/888/aspnet-webapi-message-lifecycle

The ASP.NET Web API 2 HTTP Message Lifecycle in 43 Easy Steps:
https://exceptionnotfound.net/the-asp-net-web-api-2-http-message-lifecycle-in-43-easy-steps-2/

ASP.NET Web API Series

ASP.NET Web API Series site:byterot.blogspot.com

Swagger and ASP.NET Web API - Part I: Adding Swagger to Web API project (wmpratt.com)

Swagger and ASP.NET Web API - Part II: Enabling OAuth 2.0 (wmpratt.com)

Where does ASP.NET Web API Fit? - Rick Strahl's Web Log (west-wind.com)

eBooks:

  • Embrace HTTP with ASP.NET Web API
  • Pro ASP.NET Web API Security: Securing ASP.NET Web API
  • Securing Authentication Cookies in ASP.NET Web API 2

Swagger Demo Api using ASP.NET Web Api

billpratt/SwaggerDemoApi: Swagger Demo Api using ASP.NET Web Api (github.com)

.NET WebApi starter kit using Code first Entity Framework 5 with token authentication, API request limiter and sample Soup Recipe API

hylander0/WebApiSoup: .NET WebApi starter kit using Code first Entity Framework 5 with token authentication, API request limiter and sample Soup Recipe API (github.com)

ASP.NET Web API 2

Global Error Handling in ASP.NET Web API 2 - ASP.NET 4.x | Microsoft Docs

The ASP.NET Web API 2 HTTP Message Lifecycle in 43 Easy Steps (exceptionnotfound.net)

ASP.NET Web API Series

ASP.NET Web API (exceptionnotfound.net)

HTTP Status Codes

HTTP Status Codes in ASP.NET Web API - A Guided Tour (exceptionnotfound.net)

Securing Authentication Cookies in ASP.NET Web API 2

External Authentication Services with ASP.NET Web API (C#) | Microsoft Docs

Authentication Filters

Authentication Filters in ASP.NET Web API 2 | Microsoft Docs

Security, Authentication, and Authorization in ASP.NET Web API | Microsoft Docs

Authentication and Authorization in ASP.NET Web API | Microsoft Docs

Secure a Web API with Individual Accounts and Local Login in ASP.NET Web API 2.2 | Microsoft Docs

ASP.NET Web API (include .NET Core)

ASP.NET Web API (exceptionnotfound.net)

Securing .NET Microservices and Web Applications | Microsoft Docs

WinForms + RestSharp + ASP.NET Web API 2

February 22, 2020 15:30

ASP.NET Web API 2, RestSharp and Model Error Messages

CallerRepository class

static void Main(string[] args)
{
    EmployeeInfo model = new EmployeeInfo();
    CallerRepository caller = new CallerRepository();
    try
    {
        var response = caller.Get();
        foreach (var res in response)
        {
            Console.WriteLine($"{res.Id} {res.EmpNo} {res.EmpName} {res.Salary} {res.DeptName} {res.Designation}");
        }
    }
    catch (Exception ex)
    {
        Console.WriteLine($"Error Occured " +
            $"{ex.Message}");
    }
    Console.ReadLine();
}

https://www.dotnetcurry.com/aspnet/1419/handle-webapi-restsharp-model-error-messages

Okta

October 24, 2019 21:42

Okta (edit)

ASP.NET MVC 5 and ASP.NET Web API 2 (Northwind database)
Backend Web API Tutorial
REST API with Attribute Routing in ASP.NET Web API 2
Build a CRUD App with ASP.NET MVC and Entity Framework Code First
A tutorial to build a CRUD application with ASP.NET Web API 2 and Vue.js
Simple CRUD app written in ASP.NET MVC 4.x with an Angular front end
Secure Your ASP.NET Core App with OAuth 2.0
A CRUD Application built using ASP.NET Core 2.2 and SQLite
React components & helpers that are used in several places

Categories

Recent posts