You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been a while since I coded web (not longing to much, I can
15
-
say) and during this time a lot of development has happened of course.
16
-
One of the great new features in ASP.NET 2.0 is the membership and
17
-
profile handling which gives you easy access to store and get values
18
-
that is has to do with the current user - a bit like settings in Windows
19
-
programing.
14
+
It has been a while since I coded web (not longing to much, I can say) and during this time a lot of development has happened of course. One of the great new features in ASP.NET 2.0 is the membership and profile handling which gives you easy access to store and get values that is has to do with the current user - a bit like settings in Windows programming.
A good introduction example can be [found here](http://www.odetocode.com/Articles/440.aspx).
23
17
24
-
However there is a problem in the different project models. When Visual
25
-
Studio 2005 was released Microsoft did an attempt to solve the "i want
26
-
to place my files for web projects wherever I want"-problem, and came up
27
-
with the Web Site-project type. It sucks!
18
+
However there is a problem in the different project models. When Visual Studio 2005 was released Microsoft did an attempt to solve the "i want to place my files for web projects wherever I want"-problem, and came up with the Web Site-project type. It sucks!
28
19
29
-
That project type doesn't contain a project file and has a completely
30
-
different compilation model, so it no good in most professional
31
-
development projects. To do a build script for that kind of project is
32
-
nigh on impossible...
20
+
That project type doesn't contain a project file and has a completely different compilation model, so it no good in most professional development projects. To do a build script for that kind of project is nigh on impossible...
33
21
34
-
So a new project type was released - Web Application Project. It is
35
-
good! So good in fact that after Visual Studio SP1 - the web site
36
-
project cannot be chosen and the Web Application project template is the
37
-
only one left.
22
+
So a new project type was released - Web Application Project. It is good! So good in fact that after Visual Studio SP1 - the web site project cannot be chosen and the Web Application project template is the only one left.
38
23
39
-
To bad that, in the progress, some features was removed - for example
40
-
the automatically generation of a Profile-class to get easy access to
41
-
the Profile-values in web.config.
24
+
To bad that, in the progress, some features was removed - for example the automatically generation of a Profile-class to get easy access to the Profile-values in web.config.
42
25
43
-
Here is a add-in that gives you that feature back - [ASP.NET WebProfile
44
-
Generator](http://www.codeplex.com/WebProfile). It will (they have
45
-
promised) work in the next version of Visual Studio.
26
+
Here is a add-in that gives you that feature back - [ASP.NET WebProfile Generator](http://www.codeplex.com/WebProfile). It will (they have promised) work in the next version of Visual Studio.
So - here we are at the beginning of a new year. Prepare your
14
-
fingers of writing 08, 2008 and so on, I know that it will take me a
15
-
month or so to get use to it.
13
+
So - here we are at the beginning of a new year. Prepare your fingers of writing 08, 2008 and so on, I know that it will take me a month or so to get use to it.
16
14
17
15
Here are a of the things I look forward to in 2008:
18
16
19
17
- Of course - becoming a father. No - nothing yet. But soon!
20
-
- Recording a CD with my band, the Vasa Band. The band has been
21
-
working so hard for a long time now. It will be great to record it
22
-
for real.
23
-
Also I will be playing a solo on the CD which is a first for me. I
24
-
will be playing my favorite solo in the Salvation Army literature
25
-
"Journey into peace" by William Himes. That will also be great
26
-
- Becoming a Sergent Major at the Vasa Corps. For the first time i
27
-
really feel that a role suites me.
28
-
- Rebuilding the Vasa Corps - from 28/12 2007 it's in progress. We are
29
-
now rebuilding the corps. YEEES - it took about five years to come
30
-
to a decision. Packing are in progress
18
+
- Recording a CD with my band, the Vasa Band. The band has been working so hard for a long time now. It will be great to record it for real. Also I will be playing a solo on the CD which is a first for me. I will be playing my favorite solo in the Salvation Army literature "Journey into peace" by William Himes. That will also be great
19
+
- Becoming a Sergeant Major at the Vasa Corps. For the first time i really feel that a role suites me.
20
+
- Rebuilding the Vasa Corps - from 28/12 2007 it's in progress. We are now rebuilding the corps. YES - it took about five years to come to a decision. Packing are in progress
31
21
32
-
These are just a few of the things I look forward to. I hope that your
33
-
year will be as exciting as mine is sure to be.
22
+
These are just a few of the things I look forward to. I hope that your year will be as exciting as mine is sure to be.
OK - this is one of thoose "now where has that file moved"-posting.
15
+
OK - this is one of those "now where has that file moved"-posting.
16
16
17
-
When you run tests in a TFS build with MSTest a .trx-file is created.
18
-
This file contains all the testresults for that run. However you can't
19
-
view it unless you have Visual Studio...
17
+
When you run tests in a TFS build with MSTest a .trx-file is created. This file contains all the test results for that run. However you can't view it unless you have Visual Studio...
20
18
21
-
(Appearently you could publish the result to the Team Foundation Server
22
-
and then do a report but this is much simpler...)
19
+
(Apparently you could publish the result to the Team Foundation Server and then do a report but this is much simpler...)
23
20
24
-
Here is a tool, [trx2html](http://www.codeplex.com/trx2html), that
25
-
converts that .trx-file into a nice HTML-report. And that report could
26
-
then easily be published on the Team Portal.
21
+
Here is a tool, [trx2html](http://www.codeplex.com/trx2html), that converts that .trx-file into a nice HTML-report. And that report could then easily be published on the Team Portal.
some steps on how to include the functionality in your build script:
23
+
And here are, based on [this article](http://blogs.msdn.com/buckh/archive/2007/05/30/viewing-test-results-in-a-web-browser.aspx), some steps on how to include the functionality in your build script:
2. Include the RidoTask.dll in your solution or reachable on the server where the tests are run. I've included the dll in a solution folder in my solution, called SolutionItems\Tools
37
27
3. Reference the msbuild task in your build file (.proj)
Yesterday I got a question from a collegue who had run into trouble
16
-
using the TransactionScope-construct in .NET.
15
+
Yesterday I got a question from a colleague who had run into trouble using the TransactionScope-construct in .NET.
17
16
18
-
The case was as follows; the are programming against a database whose
19
-
stored procedures they cannot change. Some of these stored procedures
20
-
are using calling each other and doing so under stored procedures. When
21
-
the .NET-code is calling those stored procedures and doing so under
22
-
TransactionScope they run into problems. The TransactionScope is not
23
-
Complete-ing and the reader they are using in the TransactionScope
24
-
simply returns empty (Nothing).
17
+
The case was as follows; the are programming against a database whose stored procedures they cannot change. Some of these stored procedures are using calling each other and doing so under stored procedures. When the .NET-code is calling those stored procedures and doing so under TransactionScope they run into problems. The TransactionScope is not Complete-ing and the reader they are using in the TransactionScope simply returns empty (Nothing).
25
18
26
-
OK -first and foremost; don't mix! It's no good idea to have two guys
27
-
deciding on when you are done. So use either the excellent Transaction
28
-
support given in .NET 2.0 or use transactions in stored procedures.
29
-
However...
19
+
OK -first and foremost; don't mix! It's no good idea to have two guys deciding on when you are done. So use either the excellent Transaction support given in .NET 2.0 or use transactions in stored procedures. However...
30
20
31
-
To my colleague's defense it must be said that they cannot change the
32
-
stored procedures they are using, so they are stuck. This is how you fix
33
-
that situation (or well work around it is maybe more to the point).
21
+
To my colleague's defense it must be said that they cannot change the stored procedures they are using, so they are stuck. This is how you fix that situation (or well work around it is maybe more to the point).
34
22
35
-
In the connectionstring it is possible to add a parameter stating that
36
-
you will not enlist in transactions:
23
+
In the connectionstring it is possible to add a parameter stating that you will not enlist in transactions:
This year the only organization that is allowed, officially, around the course is the Salvation Army. The Salvation Army in Sweden has decided to make an effort to raise money for [water tanks for schools in Kenya](http://www.fralsningsarmen.se/dl2/p3/admin.nsf/wwwPublished/fralsningsarmen_startsida_kenya?OpenDocument).
23
19
24
-
The Vasa band, the band of my corps, will be playing at
during the day. Also the Source Of Joy gospel choir will be there.
20
+
The Vasa band, the band of my corps, will be playing at [Odenplan](http://www.hitta.se/ViewDetailsPlace.aspx?vad=&var=odenplan&PlaceId=2471632) during the day. Also the Source Of Joy gospel choir will be there.
27
21
28
-
I have promised to speak during the day - and keep the day going. It
29
-
will be great fun -but quite challenging also - we will go on for almost
30
-
8 hourse straight!
22
+
I have promised to speak during the day - and keep the day going. It will be great fun -but quite challenging also - we will go on for almost 8 hours straight!
31
23
32
24
Well, I'll get back to you with some information on how it went.
is not for the faint hearted, but well worth seeing.
15
+
This is not for the faint hearted, but well worth seeing.
17
16
18
-
Its a clip from a recording session of the film music to the movie
19
-
Hellboy. And the sounds these dudes produces are just ... well scary.
17
+
Its a clip from a recording session of the film music to the movie Hellboy. And the sounds these dudes produces are just ... well scary.
20
18
21
-
For any non-brass players I can tell you that to produce one of those
22
-
"bursts" is hard. Really hard. To do 15 or so in a row is just
23
-
amazing.
19
+
For any non-brass players I can tell you that to produce one of those "bursts" is hard. Really hard. To do 15 or so in a row is just amazing.
24
20
25
-
And now for something completely different. The best trombone player
26
-
(not counting the bass trombone dudes above) in my opinion is Håkan
27
-
Björkman. Here is a clip of him doing a cadenza of the Leopold Mozart's
28
-
Alto-trombone concerto. Very different - but still amazing.
21
+
And now for something completely different. The best trombone player (not counting the bass trombone dudes above) in my opinion is Håkan Björkman. Here is a clip of him doing a cadenza of the Leopold Mozart's Alto-trombone concerto. Very different - but still amazing.
29
22
30
-
Yeah - this is also something that shouldn't be possible to accomplish.
31
-
I have heared it live at the Stockholm Opera once.
23
+
Yeah - this is also something that shouldn't be possible to accomplish. I have heard it live at the Stockholm Opera once.
[Avega](http://www.avega.se) is starting up a [corporate blog](http://blog.avegagroup.se) and have asked me to post some posts there. Sounds great so I have just posted in some items from [www.marcusoft.net](https://www.marcusoft.net) to my ["Avega"-alias](blogg.avega.se/marcushammarberg).
12
+
[Avega](http://www.avega.se) is starting up a [corporate blog](http://blog.avegagroup.se) and have asked me to post some posts there. Sounds great so I have just posted in some items from [www.marcusoft.net](https://www.marcusoft.net) to my ["Avega"-alias](https://blogg.avega.se/marcushammarberg).
13
13
14
14
<http://blog.avegagroup.se> will not be live in a few weeks though, so keep cool until you can read me in ... stereo. ;)
15
15
16
16
A few interesting questions arose:
17
17
18
-
- How will [Google](http://www.google.com) tackle the indexing. Will a search for "marcus hammarberg" yeild a hit at the Avega-blog before [www.marcusoft.net](https://www.marcusoft.net)?
18
+
- How will [Google](http://www.google.com) tackle the indexing. Will a search for "marcus hammarberg" yield a hit at the Avega-blog before [www.marcusoft.net](https://www.marcusoft.net)?
19
19
- How to use [Windows Live Write](http://get.live.com/writer/overview) (which I have fallen in love with) with [SubText.NET](http://subtextproject.com/) (the Avega blog engine of choice)? Luckily there is a [simple solution here.](http://blogs.meetandplay.com/WPierce/archive/2006/08/18/SubText_and_Windows_Live_Writer.aspx)
Lately I have been asked the question why I have this blog, several times actually. I honestly thought that I wrote that in [the first posting I did](https://www.marcusoft.net/2006/10/marcus-on-net.html), but it was very short. Not even when I change into [www.marcusoft.net](https://www.marcusoft.net) I [wrote something](https://www.marcusoft.net/2007/08/new-url-httpwwwmarcusoftnet.html) about it.
22
16
23
-
But the reason for the blog is, and has always been this simple: I write
24
-
about things that interest me and when they catches my attention.
25
-
For several years I did notes in diffrent kind of notebooks at different
26
-
customers. Always forgot them when I left. So now I have them in one
27
-
place. I often link to the blog for solutions to problems I have and
28
-
solve.
17
+
But the reason for the blog is, and has always been this simple: I write about things that interest me and when they catches my attention. For several years I did notes in different kind of notebooks at different customers. Always forgot them when I left. So now I have them in one place. I often link to the blog for solutions to problems I have and solve.
29
18
30
-
I then and then write about private stuff also, in the same manner -
31
-
when it feels good.
19
+
I then and then write about private stuff also, in the same manner - when it feels good.
32
20
33
21
I write in english to keep my english up to date.
34
22
35
23
So there you have - the reason for this blog and why I keep it.
36
24
37
25
PS.
38
-
The implications and "reach" of the blog has been way more than I ever
39
-
expected. I have around 700 visitiors (lost about 200 visits/month with
40
-
the [Avega
41
-
blog](http://blog.avegagroup.se/MarcusHammarberg/default.aspx)) each
42
-
month from all around the globe.
43
-
DS
26
+
The implications and "reach" of the blog has been way more than I ever expected. I have around 700 visitors (lost about 200 visits/month with the [Avega blog](http://blog.avegagroup.se/MarcusHammarberg/default.aspx)) each month from all around the globe. DS
0 commit comments