ScriptKidding
Render Razor template for email body but keep having errors
question, so i am planning to do some email sending in C# but the body will be some nifty HTML and CSS styling with extra data in it, so should i create a Razor file then render it in ? or is there a better option ? because currently i am trying out Razor and this line keeps failing me
Error :
and not so sure what that means
1 replies
Unable to add migration -
So i am having a working ASP.NET application running .NET 8.0. At first everything runs normally but when i try to add some migrations with the
Add-Migration
command, an error pop up as follows:
I have already tried to add the following lines of code inside the OnModelCreating
method of the DbContext to create a relationship to the child models...
but no use. Since the code are too long, i have already put it here https://bpa.st/GB7A which contains the code of the entities that i doubt caused this problem. I'd appreciate if someone help me out.1 replies