How to decide between an Interface or Base Class for an new implementation?
When it comes to implementation, how should i decide to go for an base type or an Interface ? I tried to work out on few examples but i don’t get the complete idea 🙁
When it comes to implementation, how should i decide to go for an base type or an Interface ? I tried to work out on few examples but i don’t get the complete idea 🙁
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 try to do the following in my web.config:
I have controls inside a UpdatePanel like this
I am having an issue with IIS express or Visual Studio 2013.
I have some code from my VB.NET 1.1 days that allowed me to dynamically check if Debug was enabled in web.config. I figured why re-invent the wheel in turning on/off logging if I could simply have the web administrator enable debug. Here is the code I used in VB.NET that worked just fine:
Using iTextSharp (and c#/ASP.NET) is it possible to open an RTF document, manipulate it by replacing some text, insert an image (WMF or PNG), and the export that manipulated document to a PDF document that retains the formatting of the original RTF document?
I’m using the following to get the current controller and action in asp.net MVC3:
@* 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