dotnet new sln -n AutoMapperDemo
dotnet new mvc -n AutoMapperDemo
dotnet sln AutoMapperDemo.sln add AutoMapperDemo/AutoMapperDemo.csproj
### Off SSL
dotnet new webapi --no-https
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****** SQL Join Query ******/ | |
select * from Payments | |
select * from PaymentsDetails | |
select count(*) from Payments | |
select count(*) from PaymentsDetails | |
select A.Id,A.VisitId,A.GrandTotal,B.Quantity,B.UnitPrize,B.TotalAmount | |
from Payments A inner join PaymentsDetails B on A.Id = B.PaymentsId |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Privacy Policy</h1> | |
<p>Effective date: November 17, 2019</p> | |
<p>Personal ("us", "we", or "our") operates the https://gist.github.com/shahedbd/0c204076582bae103183b74e617386f9 website (the "Service").</p> | |
<p>This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for Personal is created with the help of the <a href="https://www.freeprivacypolicy.com/free-privacy-policy-generator.php">Free Privacy Policy Generator</a>.</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine(Environment.CurrentDirectory); | |
string ProjectDirPath = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, @"..\..\..\")); | |
Console.WriteLine(ProjectDirPath); | |
Console.WriteLine(ProjectDirPath + "Data"); | |
Console.WriteLine(Assembly.GetEntryAssembly().Location); | |
Console.WriteLine(new Uri(Assembly.GetEntryAssembly().CodeBase).LocalPath); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ISendGridEmailSender | |
{ | |
Task<Tuple<string, string, string>> Execute(string filePath); | |
} | |
public class SendGridEmailSender: ISendGridEmailSender | |
{ | |
public async Task<Tuple<string, string, string>> Execute(string filePath) |