ASP.NET

ASP.NET

Vendor API Integrations: Developer Beware

15 Dec

Since I started IowaComputerGurus in early 2006 I have worked on more than 100 different vendor API integrations.  Now two integrations have been the same, even if they are both going to the same vendor API.  Each integration project is a unique beast, the business requirements however similar are exactly that, similar.  The small changes, the small tweaks that you might have from one client to another on the same platform can be catastrophic.  Having done so many of these, I thought I had seen it all, from poor API's, to poor support, and everything in-between I could go on for days with the things I've experienced over the years.  However, after two recent experiences, by far the most horrible I've ever experienced I thought I'd share a few lessons learned to help others out there learn from my experience over the last 4-6 months.

tags: ASP.NET, General Tech, Quick Tips, ASP.NET MVC, Performance, .NET 4.5

Load Testing Your Application: Art or Science?

12 Sep

Earlier this year I blogged about this importing of understanding and knowing how your application will perform under load.  (See it here).  After receiving a lot of questions from individuals wanting to learn more about "how" they can load test their applications and the tools that I use when testing applications I thought it would be good to follow up with a post to shed a bit of light on the process.  

tags: ASP.NET, DNN Development, .NET 4.0, Performance, .NET 4.5

Understanding the Logistics of Moving Websites

12 Sep

Recently for a number of reasons I've been working with individuals that are taking a website and moving them from one hosting provider to another.  Sometimes these moves are taking the existing site as is, other times it is migrating to a "new site" at the same time.  However, after doing at least 10-12 of these in the past few months a few common points of "confusion" have come to light.  As such, due to popular request I'll lay out the basics of how to move a website from one hosting provider to another and discuss the component parts that are involved in such a move. Although a bit "off" from my normal development or performance topics this is still a very real thing for many people!

tags: ASP.NET, DNN Administration, Quick Tips

Improving Web Application Performance - Part Three Client Side Considerations

30 May

In the first two parts of this blog series we introduced the importance of defining metrics prior to starting any performance optimization activities and the importance of identifying any user or role based issues.  In this part of the series we start to dive into the actual optimization part of the process.  I will start by introducing key concepts to look for, and then we will review the tools of the trade that can be used to help identify trouble points.  It is important to note that the information contained in this post is 100% applicable to ALL server side languages, regardless of .NET, PHP, Java, or anything else you might select to use.

tags: ASP.NET, DNN Administration, ASP.NET MVC, Performance, .NET 4.5

Improving Web Application Performance - Part Two Users & Environment

29 May

Now that we have a set of metrics to use to validate the performance of our web application we can now start to dive deeply into resolving issues.  The first step in this journey is actually a step often overlooked by those that I encounter.  Professionally speaking 3 in 5 performance consultations that I am involved with are actually resolved by taking the points in this post into consideration.  So lets get started looking at users & environment.

tags: DNN, ASP.NET, ASP.NET MVC, Performance, .NET 4.5

Improving Web Application Performance - Part One Metrics!

27 May

For the last four or five years I have given a number of presentations on improving the performance of web applications, sometimes specifically focusing on DNN other times taking more broadly on ASP.NET.  However, the most popular of all presentations that I have given on Web Application performance was a session that took a broad look at application performance not only from a server side but also a client side application.  This talk was actually tailored to users that came from many application development backgrounds.  In this blog series I will share the information that was contained in that talk as well as a few more items of consideration that I have learned along the way.

tags: DNN, ASP.NET, ASP.NET MVC, .NET 4.5

ASP.NET Web Forms Model Binding – My Favorite ASP.NET 4.5 Feature

22 Apr

I have been working on this blog posting for over 2-3 weeks, by far one of the longest writes of any posting that I’ve done in the past. The reason for this is that I’m writing about a concept that you should already be aware of which is the inclusion of Model Binding Support for Web Forms in ASP.NET 4.5. You can find a number of resources out there that talk about this, including this amazing tutorial series. So why do I feel the need to spend so much of my time writing about this feature? Well read on to find out!

tags: ASP.NET, DNN Development, .NET 4.5

Creating an ASP.NET 4.5 File Security Process

26 Feb

Often when working with web applications it is necessary to secure access to documents or other user supplied resources.  If you look online you will find a number of different recommendations on how to accomplish this.  Some will recommend a HTTP Handler, some will recommend a simple ASPX, others will have other random ideas.  Regardless of the actual implementation there is always a common area of mixed recommendation, once you have validated that the user has the proper permissions to access the resource, how do you get the item to the user?  In this post I'll discuss a new API that is publicly available in .NET 4.5 that helps with one problem area.

tags: ASP.NET, C#, DNN Development, .NET 4.5

Improve Performance with Static File Caching

19 Jan

This post will be the first of what will be many posts with regards to application performance. After giving a number of presentations over the last 1-2 years, including one this evening in the Minneapolis/St. Paul area I've decided that some of these tips/tricks that I have with regards to improving application performance should really get put out here so people can find them and make the improvements to their applications. Going forward all of these posts will be categorized with at least the "Performance" category and then others that identify what systems are benefited by the changes. The subject of this post is Static Content Caching.

tags: DNN, ASP.NET, DNN Administration, Performance

Causing a Specific Control to Postback

18 Apr

I was recently debugging an issue with a form where the user wanted the "enter" button when pressed in a textbox to trigger a specific ASP.NET button to postback to the server.  I have done similar things in the past with a method that changes for the pressing of Character 13 which is the enter key, then finding the buttion by id and then continuing on.  Well recently I found out that depending on the structure you can still get some "interesting" results.  So I went looking for a different method, and came up with the following.

tags: ASP.NET, .NET 4.0, Quick Tips

Simple IIS Performance Improvement

09 Mar

I know that many of the readers of this blog manage their own webservers and i have a helpful tip to share about improving the initial load time of your webserver.  Although this modification I am recommending is a SMALL change and has a small impact, it is still worth doing as it will improve the performance and reduce the amount of work that IIS has to do.

tags: DNN, ASP.NET, General Tech

DotNetNuke 5.5.1 Update and POET Security Vulnerability

27 Sep

For just a little over a week there has been a lot of buzz in the .NET and DotNetNuke community around the POET security vulnerability that was identified within the Microsoft ASP.NET technology stack.  For those of you unaware of the true details on this vulnerability I highly recommend you read the initial announcement from Scott Guthrie from Microsoft, as well as his Frequently Asked Questions post, and lastly his secondary followup posting, with a more detailed workaround.  So why do I bring this up now?  Well late last week DotNetNuke corporation released DotNetNuke 5.5.1 and in the materials that went out with that release they note that it includes a workaround fix for this vulnerability, I wanted to make sure that as always people have ALL information needed before they are doing upgrades.

 

tags: DNN, ASP.NET, DNN Administration, DNN Install/Upgrade

Performance Tuning DotNetNuke Modules with ANTS Profiler

11 Aug

As I have mentioned in past posts here on this blog and via other communication channels I strongly believe that ANTS profiler which is offered by Red Gate software is a must-have tool for all software developers.  Most recently with my day job I have been working with profiler a lot more than usual and it prompted me to re-visit the concept of profiling within the constructs of a DotNetNuke installation.  I've had many individuals with questions before about, is it possible to profile a DNN module, or how do you set it up.  Well this article will walk through all of the steps necessary to profile a single module within a local installation.

tags: Tutorials, ASP.NET, DNN Development

How To Get Design-Time Support for DNN Controls

04 Aug

 As everyone that is a regular reader of this blog is already aware of I am a big fan of the WAP development model for all DotNetNuke development projects.  Now, one of the most common issues that individuals have reported to me is that "design-time" support is not there for common DotNetNuke user controls that are common to integrate with custom modules.  The controls I'm discussing are the DNN Label, Text Editor, and Url Controls.  Luckly though it is VERY simple to get full design time support for the controls and this article will show you how to accomplish this!

tags: DNN, Tutorials, ASP.NET, DNN Development

Development Environment and Tools Used

22 May

A very common question that I get asked by people is; what tools do you use to complete your development and what type of system do you use.  Now, I believe I have written a bit about this in the past, but I thought I would take some time to go through and give a bit of a detailed overview of what I use for development and why I have selected the hardware and software that I have.  I will cover this in detail from both the hardware and software point of view.

tags: ASP.NET, .NET 1.1, .NET 2.0, General Tech, Productivity Tools, .NET 3.5, C#, DNN Development

Review of SourceGear Vault Source Control Provider

16 Apr

My last blog article "Selecting the Right Source Control Provider" touched on the evaluation criteria that I use when looking for a source control system. This article is a review of sorts of SourceGear's Vault product, my preferred source control system. I'll start by reviewing vault as it relates to the criteria from the previous article, I will then provide my overall feedback on my experience with Vault.

tags: ASP.NET, Product Review, .NET 1.1, .NET 2.0, General Tech, Productivity Tools, .NET 3.5, C#, DNN Development

Selecting the Right Source Control Provider

08 Apr

One of the most common questions that I have been getting recently has been "what source control provider do you use and why?".  This article is the first in a series of two articles about source control.  This article takes a quick look at criteria that I believe is important to consider when it comes to evaulating source control systems for use.  The next article in the series will be a review of the source control system that I use, in relation to the evaulation criteria that I list in this article.

tags: SQL, ASP.NET, .NET 1.1, .NET 2.0, General Tech, .NET 3.5, C#, VB, DNN Development

Shared, Virtual Private Server, Dedicated or Cloud Hosting

08 Dec

Recently I have been responding to more and more forum posts and e-mails regarding DotNetNuke and selecting a hosting provider. Back in May I had a blog post Selecting a Hosting Provider Revisited, this article did a great job of outlining the basic consideration points when it comes to selecting a hosting environment for DotNetNuke. However, recent technology changes and other hosting options has created a few more items that need to be considered. This article is designed to specifically address the concerns and questions behind shared, virtual dedicated, dedicated, and cloud hosting options.

tags: ASP.NET, General Tech, DNN Administration

Exporting a DataGrid to Excel The Easy Way

22 May

Recently I have answered a number of questions regarding an easy way to export datagrid contents to excel format.  In this blog post I will share a static class that I have created called "ExportHelper" which I use quite often to generate quick Excel exports of datagrid data.  I will outline the process and the code below.  It should be noted that this solution is NOT a DotNetNuke specific solution, I use this for both DotNetNuke and standard ASP.NET solutions.

tags: DNN, Tutorials, ASP.NET, .NET 1.1, .NET 2.0, .NET 3.5, C#

Content provided in this blog is provided "AS-IS" and the information should be used at your own discretion.  The thoughts and opinions expressed are the personal thoughts of Mitchel Sellers and do not reflect the opinions of his employer.

Content Copyright

Content in this blog is copyright protected.  Re-publishing on other websites is allowed as long as proper credit and backlink to the article is provided.  Any other re-publishing or distribution of this content is prohibited without written permission from Mitchel Sellers.