Having problems with converting my DateTime to UTC
I am storing all my dates in UTC format in my database. I ask the user for their timezone and I want to use their time zone plus what I am guessing is the server time to figure out the UTC for them.
I am storing all my dates in UTC format in my database. I ask the user for their timezone and I want to use their time zone plus what I am guessing is the server time to figure out the UTC for them.
I have problem where I can’t apply the style in CSS in my ASP.NET MVC application.
The behavior is it applies for the first time and then the subsequent changes to the CSS is not getting reflected in my _Layout.cshtml. I am not sure what I am missing here.
I have working ASP.NET MVC 4 project. I want to add to this MVC project 2 .aspx pages of another WebForms project. I have several questions:
@* Omitted code.. *@ @RenderBody() @RenderSection("Sidebar", required: false) Is there any way to know in the Omitted code part if the RenderSection Sidebar exists or not? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as … Read more
Hi I need to check if a user is in one of the roles and i am confused with different versions of code that i found. Let me show you what i have at the moment first
I am new to OWIN and Katana. I really don’t get why I should use OWIN, while I can use IIS. To simplify, my question is: What do I lose if I skip learning OWIN and use IIS for my websites?
Is there any good reason why ASP.NET’s session state cookie and the Forms Authentication cookie are two separate cookies? What if I want to “tie” them to each other? Is it possible in an elegant way?
We are using classes inheriting from Registry to configure our StructureMap container in our ASP.NET MVC 4 application startup.
Where can I find a good NHibernate and ASP.NET MVC Reference Application? I downloaded S#arp and this seemed to be a lot more than I needed (IOC and CodeGen via T4). I might work my way up to this later, but I need something smaller at first.
I have a collection of items, here it is: AgencyID VendorID StateID Amount Fee 1 1 1 20.00 5.00 1 1 1 10.00 2.00 1 1 1 30.00 8.00 2 2 1 20.00 5.00 2 2 1 5.00 5.00 1 1 2 20.00 5.00 2 2 2 20.00 5.00 2 2 2 40.00 9.00 1 … Read more