Veecard

Mark Neustadt

Mark Neustadt

Posts Tagged / ASP.Net

503

Weird HTTP Error 503

January 4, 2013 | Technology | by Mark

I’m working on an MVC Website.  In development in Visual Studio, things are working perfectly.  My app needs to run in IIS.  Easy enough, right?  Just set it up in IIS and you’re off and running. Recently though, my IIS instance of the site stopped working.  What?!  I began to get the following error: HTTP [...]

codesnippet

Automatically logging users out of a website

January 3, 2013 | Technology | by Mark

Session state is a funny thing.  It works really well.  But if users don’t stay active, they’ll lose their session.  That can make for some really strange problems if session isn’t used immediately.  Of course session can be checked for, but that’s a hassle.  It would be easier to simply log users out before their [...]

f4be7c9d-866b-437e-b882-6812a2726ae2

Decrypting app.Config

August 3, 2011 | Technology | by Mark

Do you need to decrypt an app.config file? There are lots of directions explaining the process if you’re dealing with a web application, but if you’re dealing with a windows app or a service of some sort, you don’t have a web.config…  all you have is an app.config. The process isn’t all that different. Here’s what [...]

Featured

CustomPrincipal and Serialization

June 15, 2011 | Technology | by Mark

Recently, I’ve been working on a project that relies on a backend business object layer.  The business object (BO) layer, requires authentication in order to be used.  For most of the systems, this is okay, but my project is to be used by end users.  We don’t need to authenticate the users… we need to [...]

Release Mode error message

November 29, 2010 | Technology | by Mark

We’re approaching delivery of the baby!  In the next few months, we’ll be releasing our product.  This is great news as it’s been a long time coming.  As is the norm, we’ve been developing our product in Debug mode.  While in Debug mode, Visual Studio will generate extra files to allow stepping through the code.  [...]

Displaying Assembly Version Information

August 2, 2010 | Technology | by Mark

On a lot of my websites, I find it very useful to know exactly what version I’m working with.  Not only the version number, but also whether or not it’s running in RELEASE or DEBUG mode. To accomplish this, it’s a fairly simple process.  Just put a Label control on your webform and then set [...]

System.Runtime.InteropServices.COMException

July 19, 2010 | Technology | by Mark

Recently, we’ve had some fairly serious problems on our network. This has led to the admin staff removing our network profiles. It was an accident, but it still happend. The problem is now that the entire IT staff has to reconfigure our workstations. We’re using Visual Studio 2008 for our web applications. I finally got [...]

ASP.Net the new Ruby on Rails?

March 17, 2009 | Technology | by Mark

Wow… I’m just watching this video about how the Model/View/Controller design pattern is going to be implemented in ASP.Net and VB.Net. As many of you know, I enjoy working on and with Ruby on Rails. RoR is entirely based on the MVC design pattern. It’s surprising to me just how similar the ASP.Net implementation of [...]

Log4Net and Performance

February 19, 2009 | Technology | by Mark

Wow… I just removed log4net from my project.  What a performance hog log4net is! Let’s be clear… I had simply disabled log4net by turning the responders “OFF”.  I never modified the code to check to see if debugging was enabled or anything like that.  Just turning it “OFF” didn’t really help anything.  I kept finding [...]

Properties and Web Services

February 3, 2009 | Technology | by Mark

Such a weird thing…  the project I’m working on is using a distributed architecture.  Everything is all on my workstation, but the architecture is split out into a web service as one project and the UI as a separate project. I just ran into a very strange situation where some properties of the objects in [...]