Dapper and Oracle CRUD (edit)
C# 4.0 - Dapper and Oracle CRUD issues, how to? - Stack Overflow
Web.config
</appSettings>
<add key="enableSimpleMembership" value="false" />
<add key="autoFormsAuthentication" value="false" />
</appSettings>
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880"></forms>
</authentication>
</system.web>
<membership defaultProvider="CustomMembershipProvider">
<providers>
<clear />
<add name="CustomMembershipProvider"
type="OraAspNetMembership.Authentication.CustomMembershipProvider"
connectionStringName="OraAspNetConString"
applicationName=""
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>
Global.asax.cs
using System;
namespace MyWebApi
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
}
protected void Session_Start(object sender, EventArgs e)
{
}
protected void Application_BeginRequest(object sender, EventArgs e)
{
}
protected void Application_AuthenticateRequest(object sender, EventArgs e)
{
}
protected void Application_Error(object sender, EventArgs e)
{
}
protected void Session_End(object sender, EventArgs e)
{
}
protected void Application_End(object sender, EventArgs e)
{
}
}
}
Sharing Cookies Between Two ASP.NET Applications
Sharing Cookies Between Two ASP.NET Core Applications
Share authentication cookies among ASP.NET apps
Share authentication cookies among ASP.NET Core apps
Share Cookie Between Apps - Google Tài liệu (manhng83@gmail.com)
https://docs.microsoft.com/en-us/aspnet/core/security/cookie-sharing?view=aspnetcore-5.0
https://github.com/Naveen512/Login-Cookie-Share
https://github.com/dotnet/AspNetCore.Docs/issues/21987
Single sign-on (SSO)
https://alazierplace.com/2019/05/session-sharing-how-login-state-is-shared-between-systems/
https://github.com/asamolion/tutorial-session-sharing
https://alazierplace.com/contact-us/
Share cookies across subdomains
When hosting apps that share cookies across subdomains, specify a common domain in the Cookie.Domain property. To share cookies across apps at contoso.com, such as first_subdomain.contoso.com and second_subdomain.contoso.com, specify the Cookie.Domain as .contoso.com:
options.Cookie.Domain = ".contoso.com";
ASP.NET-Membership-Management-tool: ASP.NET Membership Management Tool for Oracle (github.com)
How to become master writing C# code | by Steve Smith | Medium
Design Patterns: Elements of Reusable Object-Oriented Software 1st Edition
Code Complete: A Practical Handbook of Software Construction, Second Edition 2nd Edition
Agile Principles, Patterns, and Practices in C# 1st Edition
Clean Code: A Handbook of Agile Software Craftsmanship 1st Edition
Design Patterns Library
SOLID Principles of OO Design
Advanced Unit Testing
Domain-Driven Design Fundamentals
Refactoring Fundamentals (which discusses code smells to look for and how to fix them)
1) Code Cracker
Install-Package CodeCracker.CSharp
Code Cracker for C# - Visual Studio Marketplace
2) AllReady
HTBox/allReady: This repo contains the code for allReady, an open-source solution focused on increasing awareness, efficiency and impact of preparedness campaigns as they are delivered by humanitarian and disaster response organizations in local communities. (github.com)
3) Git
allReady/gitprocess.md at master · HTBox/allReady (github.com)
4) AspLabs
AspLabs/src at main · aspnet/AspLabs (github.com)