Posts Tagged / ASP.Net
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 [...]
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 [...]
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 [...]
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 [...]
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. [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]