"it is not possible to run two different versions of asp.net in the same IIS process"

Ok, say that 5 times real fast :)

The things a person finds themselves involved in while trying to grub through the day and leave enough brain cells functional for Silverlight before crashing out...

At my client's facility, we had a server with our web apps and other folks' apps that not only was past it's prime (aren't we all), but the lease was up. Let's not ignore the fact that we had another server with our Oracle database on it go down the same path close enough behind that we switched them the same day.

So now all this goodness lives on a Virtual server somewhere in the sky. I and at least one other person have admin rights to the server, because nobody in IT would lay claim to enough info to be able to take care of what I needed.

I've labored through Crystal Reports issues and all kinds of stuff, but bottom line is right now I have 3 .NET 1.1 apps living out on that server and one test 'Merge' app that is a .NET 2.0 version of two of the 1.1 ones that I'm merging.

Everything has been running, and seemingly without issue for almost a month I think. I'm the only one running the 'Merge', but there's one other app that lives out on that server that I am not familiar with.

Today I tried to run some feature on one of the 1.1 apps, and it fell down... weird because it hasn't changed. So I debugged into it heavily, and could not find anything amiss. Out to the server, bring up the IIS manager and start comparing to one that works: the Merge.

Whoa... my .NET 1.1 apps are set in the ASP.NET tab as being 2.0! ... hmmm... I didn't do that, but I do know that the other team's app is 2.0 -- I stored that in the back of my head, and switched my two back to 1.1

So that got me past that point, and I went about configuring more funtionality in the 'Merge', and decided to publish to see if there are any difficulties and WHAM! ... it wouldn't run... no yellow marked errors, just a banner saying that the application won't be running, and check the log. I did, and found the message in the Title.

Off to Google... first page was in Blogspot -- and that gave me the IT banner about games and social networking, pron, yadda yadda... sigh... next... ultimately I found this great site and one of my main reasons for blogging about this: 

How to run ASP.NET 2.0 and ASP.NET 1.1 side-by-side

Gotta love it when the 'state-of-our-art' in this place is bailed out by an article written April 8, 2006... LOL

So not knowing for sure if the other admin had actually modified my app to be 2.0, I went ahead and made myself 2 new AppPools, one for 1.1 and one for 2.0 then switched all 3 1.1 apps of mine to the 1.1 App Pool, and the 'Merge' to the 2.0 app pool. I'll assume that wherever the other admin is running, he can straighten it out if I've messed him up. I didn't change the default though, so I think he's ok, and since he's the only one running on the default, maybe a start/stop cycle would fix it anyway.

I know all of mine are fine, so that's cool, and another mystery solved !

-Dave

SlickEdit - Is there anything in there than VS hasn't got?

SlickEdit - Is there anything in there than VS hasn't got?



Last paragraph updated with feature demo info and 15-day trial not 30.

This question came across my blog, and I put it aside to think about it a bit because it's a good question.

In my opinion, a code editor is one of the more personal things a developer uses. Sure we all have Visual Studio, and in today's version you can do tons of stuff with that thing. And... if you're just starting out, and VS is all you've seen, you probably would wonder why anyone would want more.

I'm going to bring up some of the things I use SlickEdit for, and don't send me hate mail if VS ALSO does some of those things. I've been using SlickEdit for so long that I go to it first for these things, it's just how I think. I also am not going to try to list out all the features, you can find that on their site. This is just an incomplete list of my thoughts.

Macro Engine

If you've been reading along, you've gotten the idea that there's a Macro Engine in SlickEdit. That's almost an understatement. This might not be exactly true, but I've described SE to people as being a Macro Engine with a ton of Macros delivered that make up the editor. It has a very rich language for manipulating text or buffers of text or pretty much anything you can imagine associated with editing. All the executing code that it does out of the box is in macros that you get the source for. So if you want to extend some functionality, go for it... worst case is you just restore their file!

Template Editing

No matter what the file extension, you're going to get code-completion and intellisense for that extension, and that includes things like if I'm editing C++ or C# and I type do and hit space, I get this:

do
{

} while( );

and the cursor is indented between the curly braces.

You don't like that indentation and brace style? Chaange it in the setup options.

What if you have a driving need to edit in some extension that's not onboard? I wrote my own .xul template when I was coding for Mozilla. It was a bit of an IQ test getting started, but once I had it going, it got very easy to add onto, and worked just like the ones delivered.

Footprint

SlickEdit comes up quick, and works as a text editor... no matter what I want to edit, I can pop it open pretty quickly... I can edit Hex if I want to, and have done so successfully. It's a different paradigm than using VS. I dump a folder of data into a text file and open it with SE, write an F7 macro and blam... it's all formatted out like I want. I'm not even sure how I'd do some of that in VS.

Not wanting to make this real long, I'll give a good example of something I do twice a month. I am responsible for the Paint Shop Pro instruction at WebTechU.com, and as such, I have to pull the student lists from the site and part them out to the instructors. My only access to the student lists are by scraping them from a web page. So I do that for all 8 classes.

  • I go to the first numbered one, F7, delete, line down to the next number, F7, then F8 all the way down the page to rip off numbers.
  • Replace commas with blanks and ' with '' to avoid database issues
  • Edit the long comments to be within the limit of the database
  • Go to the first student record and push my "CSV" button -- turns that formatted block into a CSV line -- hold down that button for however many there are
  • Find and replace "Date, Instructor" with current date and blank
  • Find and replace "Class," with the appropriate class designation

That takes about 10 minutes... no matter how many records there are. Then it gets imported into the database to assign.

And the bulleting of that text block (above) ... I typed each as a separate line, hilighted them, and hit a button that runs a macro I wrote.

When I want to see what the file looks like (if it's html), I push a button, and it opens in a browser -- just like VS.

What Else

I'm not sure... I use it so much and all the time that it's hard to think of all the things it does, much less compare them to VS.

Mostly it's a helluva text editor on steriods.. no matter what that text is, or how big it is. I've edited files for people that were so big other editors choked on them, and I've ran macros against so many lines of text that I actually had to wait on it to complete. Anything I can think up that I want to do, if it doesn't do it out of the box, it can be trained to do so.

Some things on the menus of SE2008: RegEx, Refactoring, Beautifying, FTP, Version Control, Build/debug (command-line to VS - or something else?), Spell Check, Selective display (methods or blocks you define), bookmarks, etc. 

Download a Free Trial

I don't work for SE, but I use the tool... try it for yourself... I think there's a 30-day 15-day trial download. Give it a shot... see what all it does. If it doesn't make life easier, nothing lost!

Also there are some demos of features, as relayed by Jason from SlickEdit -- thanks Jason! -- you're trying to make me NOT shoot from the hip I guess :)

Stay in the 'Light!


Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | SL2 Web Articles | My Articles | My Tutorials | My Tooltips | My SL2 Articles | My SL2 ToolTips | SilverlightCream

Silverlight Cream for May 21, 2008 -- #279

Andy Beaulieu with a real-world DeepZoom example, James Bacon releases a new SL2 casual game, Dave Relyea discusses the Canvas, Swiss DPE Team on Large resultsets with LINQ in SL2, and Peter McGrattan provides a SL2 Pie Chart.

I just noticed we crossed the 1000-link mark in SilverlightCream. Thanks for all the submittals, everyone!

From SilverlightCream.com:
DeepZoom for eCommerce
Andy Beaulieu has produced a very nice eCommerce site for his Father-in-Law's wood-turnings... I can't figure out which I'm more impressed with, Andy's work or the wood-turning! ... Awesome job both of you! Andy discusses some of the coding, but holy crap... this is a full-out site with shopping cart, so I wouldn't expect to see all the code available.
A new Silverlight web based game showing the potential of this new and exciting technology
James Bacon has a 'Casual Game' named BumbleBeegar released at Mashooo.com. Unfortunately, or maybe fortunately :), I can't get there from this facility... so go waste some time for me!
Why I Don't Like Canvas
Dave Relyea is back to posting, and has an interesting article on why he doesn't like the Canvas object, and backs it up with reasons.
Scrolling through large resultsets with Silverlight 2 Beta1 and LINQ to SQL
This from Scott Guthrie's latest list, and is a video demonstrating the use of SL2 and LINQ with a large resultset in a DataGrid.
Silverlight 2.0 Pie Chart (Beta)
Another from Scott's links, and this is a very cool Pie Chart control. I've not seen Peter McGrattan's blog before, but after seeing this Pie Chart, I've added him to my list of blogs to watch for SL goodness!

Stay in the 'Light!

Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | SL2 Web Articles | My Articles | My Tutorials | My Tooltips | My SL2 Articles | My SL2 ToolTips | SilverlightCream
«May»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567