Blazor Server (Server Side)
- Db Blazor Web Assembly (Client Side) download files into browser
- Frontend => API Call (HttpClient)
- Offline
Blazor Server Blog Blazor Web Assembly Blog
- Serilog
- Serilog.AspNetCore
- Provided Sinks
- Serilog.Sinks.MSSqlServer
- Log4Net And .NET Core
- Structured Logging in ASP.NET Core With log4net
- Introduction To NLog With ASP.NET Coret
- CORS Enable in Asp-net-core
git rm -r --cached .
git add .
git commit -am 'git cache cleared'
git push
create proc Sp_GetBlogs
@pageNo int,
@pageSize int
as
begin
select * from Tbl_Blog
order by Blog_Id
OFFSET ((@pageNo - 1) * @pageSize) ROWS
FETCH NEXT @pageSize ROWS ONLY
end
https://www.jqueryscript.net/popular/2023.html
-
Switch / Toggle dark mode how to use theme
Business1 => repo, data access 1 => data access 2 Business1 => repo, data access 2 => data access 2
Repo
- CRUD
Data Access 1
- CRUD
Data Access 2
- CRUD
Business1 Transfer
- Balance Check
- From Account = - Amount
- To Account = + Amount
Repo = Data Access 1
Data Access 1
- Check
- Debit
- Credit
Data Access 2
- Check
- Debit
- Credit
Dependency injection is a powerful technique that promotes loosely coupled, maintainable, and testable code. By applying dependency injection principles in your C# projects, you can achieve better modularity, reusability, and flexibility.
XML JSON Javascript Object JSON Object Format / Compress
- Get => Read
- Post => Ceate
- Put => Update
- Patch => Update
- Delete => Delete
- 200 - OK
- 404 - Not Found
- 500 - Internal Server Error
- 402, 403, 409
- 100 - 199
- 200 - 299
- 300 - 399
HTTP response status codes TrustServerCertificate EF Core Database First dotNet tool install --global dotnet-ef
Install DotNet EF
dotnet tool install --global dotnet-ef --version 7
Package Manager Console
Scaffold-DbContext "Server=.\SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Terminal
dotnet ef dbcontext scaffold "Server=.;Database=TestDb;User ID=sa;Password=sa@123;Trusted_Connection=True;TrustServerCertificate=True;" Microsoft.EntityFrameworkCore.SqlServer -c AppDbContext -o EFDbContextModel
EFCore Code First (C# Class => Database Table) Database First (Database Table => C# Class)
-
Console App
-
Ado.Net (CRUD)
-
Dapper (CRUD)
-
EF Entity Framework (Code First => Create Table, Database First => use in Code) (CRUD)
-
Asp.Net Core Web Api (Rest Api)
- EF
- Dapper
- Ado.Net
-
Postman
-
Api Call [Console]
- HttpClient
- RestClient
- Refit
-
html, css, javascript
-
jquery
-
jquery plugins
-
sweetalert https://sweetalert2.github.io/
-
notiflix https://notiflix.github.io/ Notify Report Confirm Loading Block
-
datatable https://datatables.net/examples/index https://datatables.net/ https://datatables.net/download/
-
datetime picker https://fengyuanchen.github.io/datepicker/ https://github.com/fengyuanchen/datepicker/blob/master/README.md https://github.com/fengyuanchen/datepicker/releases/tag/v1.0.10
-
ladda button https://cdnjs.com/libraries/ladda-bootstrap https://msurguy.github.io/ladda-bootstrap/ https://github.com/msurguy/ladda-bootstrap
-
radio checkbox https://bantikyan.github.io/icheck-bootstrap/ https://cdnjs.com/libraries/icheck-bootstrap https://github.com/bantikyan/icheck-bootstrap https://penguin-arts.com/how-to-check-if-a-checkbox-is-checked-using-icheck-library/
-
toast https://apvarun.github.io/toastify-js/# https://github.com/apvarun/toastify-js/blob/master/README.md
-
Asp.Net Core MVC (submit, ajax)
- EF
- Ado.Net
- Dapper
-
Chart [ApexChart, ChartJs, HighCharts, CanvasJS]
-
Api Call [MVC]
- HttpClient
- RestClient
- Refit
-
Minimal Api
-
Serilog
- Text Logging
- Db Logging
-
NLog
-
Log4net
-
Realtime Chat App using SignalR
-
Realtime Chart using SignalR
-
Register ADO.Net Service to ASP.NET Core Web MVC / API / Minimal API
-
Register Dapper Service to ASP.NET Core Web MVC / API / Minimal API
-
UI Design
-
Blazor CRUD [Server, WASM]
- Blazor Web Assembly (Offline, download file into client) [Frontend] [HttpClient]
- Blazor Web Server (MVC, no javascript, client to server C#) [Frontend + Backend]
-
Middleware For MVC
- https://www.aspsnippets.com/Articles/3374/ASPNet-Core-Cookies-Read-Write-Save-and-Remove-Delete-Cookies-in-ASPNet-Core-MVC/
- https://dotnettutorials.net/lesson/cookies-in-asp-net-core-mvc/#:~:text=To%20create%20a%20cookie%20in,object%20as%20parameters%20as%20follows.
- https://positiwise.com/blog/how-to-use-cookies-in-asp-net-core
- GraphQL
- gRPC
NuGet Package = npm