Kurser och utbildning av IT-proffs och systemutvecklare

i Sök

Cornerstones utvecklarblogg

Alla Taggar

All Tags » Other   (RSS)
Sorry, but there are no more tags available to filter with.

  • VS 2008 is here

    Visual Studio 2008 is now released and can be downloaded from the MSDN download Subscription.. the site is kind of busy right now, though ;)



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • I have a new blog.

    I have a new blog up at: http://weblogs.asp.net/fredriknormen

    I will still have this blog up and running, but in the future I will only add pointers to my other blog.

    The reason why I have a new blog up at the www.asp.net site is because this blog is running on my own Blog engine, and I have no time over to add new features.



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • My twin brother have blogged about LINQ and LINQ to SQL etc

    My Twin brother Johan Normén are blogging again, he have some interesting posts about LINQ and LINQ to SQL etc. You can find his blog here: http://www.johannormen.com/blog

    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • New RSS feed address

    I will soon remove my old RSS address and if you have subscribed to my RSS I want you all to change the address to: http://feeds.feedburner.com/FredrikNormnsBlog

     



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • Live from TechED day 2

    Today was my first day this week in the Ask the experts (ATE) booth at TechED. I was working together with Matt Gibbs form the ASP.Net team. He will hold a session about the MVC Framework on Friday so today I asked him several questions about the MVC Framework and also about ASP.Net 4.0. We had also a discussion about the Dynamic controls which will automatically bind dynamic data bound control against a Data source where LINQ to SQL will be used. So we can out from a database easy create a data driven web application. In the future the Dynamic Controls will work against ADO.Net Entity Framework also. I’m not a big fan of the Dynamic Controls; I don’t like to have magic in my code. I will talk to Shanku Niyogi (who is working in the Dynamic control team) tomorrow about the Dynamic Controls when we will work together.

    I met Pablo Castro from the ADO.Net team and I tried to convince him to remove the “IPOCO” interface so oue entities doesn’t need to implement the interface or inherit a base class to work with the ADO.Net Entity Framework. He was so determined and he will not remove it. It was also sad to hear that they will not release a “model-first” approached with the first version of ADO.Net Entity Framework that I thought they should do. In the next version we can probably create a model and then generate a data source from the model (That is something I don’t like).
    There are a lot of talk about features form Microsoft the work like a code-generator everything to create scaffolds and get started quickly with some tweak support etc.

    Today I met several people around Europe, some of my blog readers, some other MVPs and developers and speakers etc. I have also met a lot of people from Sweden and had the chance to eat dinner and spend some time with them.

    Today I’m going to the Influence party too meet other MVPs and peoples from Microsoft etc. It will be really nice party with a lot of fun I hope.
    If you want to read more about the time here at TechED I can suggest you to read my collogue Patrik Löwendahls blog.


    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • VS 2008 will be available in November 2007

    I’m sitting here at the TechED 2007 keynote and I’m ready to press the "Save post" button for posting this post. With this post I will let you all know that Visual Studio 2008 will be released in Novembe (this month)

    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • Live from TechED 2007 in Barcelona

    I’m sitting here in my hotel room in Barcelona and checking the TechED agenda. There are several sessions about Visual Studio 2008, but that is not strange because it’s very, very soon here ;)

    We are four people from Cornerstone this year; it’s me, Patrik Löwendahl, Josefin Andersson and Michael Herkommer.

    I have already met some people, like some people from Italy that I meet last year here at TechED, some people from Sweden etc. Patrik, Michael and I will be at the ASK THE EXPERT (ATE) booth during this week, so if you want to meet anyone of us, just join the ATE area on your break or during a session.

    This year I will work together with Matt Gibbs and Stefan Schachow and Shanku Niyogi from the ASP.Net team.
    My goal is to go to some sessions related to Web, Data and Architecture. Pablo Castro form the ADO.Net team is here to talk about the ADO.Net Entity Framework and Astoria. Matt Gibbs will talk about the MVC Frameform for ASP.Net and some other related ASP.Net stuff. Stefan Schachow and Shanku Niyogi will also talk about some ASP.Net stuff and also some ASP.Net AJAX etc. There are also some Silverlight sessions.

    Have a great time at TechED, I think all of you will be satisfied with the agenda this year.


    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • Looking for speakers - Developer Summit 2008

    I’m the track share owner of the Web tracks on a conference that will take place in Marsh next year (2008) in Sweden (Developer Summit 2008). As an owner of the track I also have the responsibility for looking for speakers. So if anyone of you are interested to speak at the conference, please drop me an e-mail with your contact information, suggestion on a track, earlier experience etc.  Here is a pointer for this year’s conference: http://www.cornerstone.se/expertzone/dev07/.

    What I have planed so far are sessions about the following areas:

    Silverligth

    ASP.Net 3.5

    ASP.Net Futures

    ASP.Net MVC Pattern

    UI Patterns/Architecture

    ASP.Net AJAX

    Design

    etc.

    For you who love to go to conference and have suggestion about topics you loved to see, then please don’t hesitate to contact me with suggestions, they are more than welcome.



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • ATE at TechED 2007

    I would only like to inform you that I will work this as an ”Ask the Expert” at TechED 2007. So I hope to as many of you as possible at the conference.

    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • SweNug Architect Summit 2007 - at last here again

    SweNug Architect Summit 2007 will take place between the 5th to 6th October this year. It will start on Friday at 06:00 PM with an introduction, and will end somewhere around 05:00 PM on Saturday. We will use Open spaces, so there are no speakers. The idea is that the attendance will set the agenda and talk about interesting things regarding architecture. Because we use Open Spaces we only have spots for about 30-40 people and you should have a burning interest in the architecture topic and also willing to share your thoughts and ideas.

    The SweNug Architect Summit will be in Cornerstone’s facility in Stockholm (Sweden). You can find a map and an address at the following link:
    http://www.cornerstone.se/aboutCornerstone/showRoadDiscription.aspx?cityID=2

    This will be an opportunity for all of you to meet experience people in the field and have a live conversation with each other. The registration process is easy, just send your name and contact info to:

    fredrik.normen@cornerstone.se or patrik.lowendahl@cornerstone.se

    The best thing, it’s free!



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • I'm back

    Now I’m back on my long vacation, I have both visit Crete and Portugal, both are nice countries. I have now also created a 3 days course for developers that want to learn ASP.Net 2.0 and never build ASP.Net applications before. This course will take place in Sweden at Cornerstone. During this and next week I will talk about ASP.Net AJAX, so I will be busy the upcoming weeks. But at least I’m back to work again so you will probably see some more blog posts from me. I’m still sorry for not having time to answer all the e-mail with questions I get. I try to answer some of them but can’t answer them all. If you have questions that you need to have an answer to, and don’t get an answer from me, post them to the www.asp.net forum. Thanks for the understanding.

    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • My point of view why about using sprocs.

    My college Patrik Löwendahl wrote an interesting post about why he avoids sprocs. I would like to add my point of view on this.

    There are several cases where a sproc can be usefull, for example if the underlaying datasource must somwehow be changed, we could simple change the sproc as long as the changes don’t affect how our apps wroks. By changing the sproc we don’t need to compile the application that uses it. But one problem here is if someone re-use the sproc. In this case we need to have well defined tests and also run all tests for ALL applications to see that our changes in the sproc will not made other apps fails. But this is more in a perfect world where everyone have defined a test, in some cases we don’t even have that luxury and we need to search in every possible code to see which code uses the sproc I need to change. Well if we some sort of repository where ALL code is located we can search for it in the repository, but maybe the some code aren’t located in the repository, in that case we will have a problem. So why re-use sproc? Well, don’t! ;) Well if we should have versioning support for our sproc this should probably not be a problem, but we don’t have versioning. In one of Patrik’s post Mats Helander wrote an interesting comment:

    “Try to version sprocs and the dependency between them, you will certainly die of old age before you figure it out.

    Mats also add the following comment to Patrik’s post:

    “For example: I create a .Net component that uses Patrik's method to send sql to the db. Then I create a new version of the component with a new version of the sql. I can now use .Net versioning to select component and thereby version of the sql.”

    He has a good point here, but can’t this make our code bloated with several components because of some changes need to be done to our SQL? Maybe the changes to the SQL don’t event change the way or apps will behave. In this case I think sproc can be useful, but as long as I can be 100% sure that the sproc will NOT break the applications that will use it. But if we need to use versioning, we don’t have a good solution for this when we use sprocs, so in this case Mats comment is good.

    I moved away from sprocs for a long time ago and use OR-mappers that generate the SQL for me instead. Often when the underlying data source needed to be changed, the apps works because the mapping against the relational database was defined in a separate XML file, and the query I wrote was against my entity objects properties, not the fields and tables in the database. The first OR-Mapper I used (I wrote it by myself), I add the mapping as attributes to my entity object. The problem with this was that if the underlying data source changed, I need to open my entities and change the mapping and recompile my application. Most case when a we do a underlying changes in the data source, it’s a changed in our application, so in that cases the recompilation is needed anyway.

    One problem with “ad-hoc” quires is that we will not get a compilation error if the quires were written in a way that it would not work. But why not test the query first to see if it works in the Query Analyzer? Well some quires can be tested but some can’t’. For example if we need to use several of conditions that should generate our queries. We will have LINQ in the future that will and can solve this problem. We can define a query that will at compile time fail if it’s created wrong. The thing that generated “ad-hoc” is a problem and we will first at runtime notice it, is not really true. If we write test that will test them during the development we can make sure they will work. But can we write tests that test all different conditions that can be used if we need to generate our query!?

    I can’t say that I will NEVER use sprocs, it’s more a decision that I will make when I see what kind of project I should build etc. But mostly I will try avoiding sprocs, and because the OR-Mapper will generate the SQL for me I don’t really need to use sprocs. Well this was my point of why about this.



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • Two favorite features I would like to see in C#

    I want to share with you two of my favorite features I would like to see in C# in the future, it’s support of Design By Contract, something like this:

    public void Add(object element)

       requires element != null

          otherwise ArgumentNullException;

       requires this[element] != element

          otherwise Exception;

       requires !IsFull

               otherwise Exception;

       ensures this[element] == element

               otherwise Exception;

    {

    this._dictionary.Add(element);

    }

     

    and also make it possible to return more than one value:

    iconId, iconPath, iconName, x, y = GetIconInfo("delete");

     

     

    function var GetIconInfo(string iconName)

    {

         ///…

        return iconId, iconPath, iconName, x, y;

    }

     

    If we aren’t interested in the iconPath we could write something like this:

     

    iconId, , iconName, x, y = GetIconInfo("delete");

     

    Who knows, if the CLR team change the CRL to make this possible, everything can happen in the future ;)



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • Updating my blog "engine" and will soon enable the feedback feature.

    I’m working on enabling the feedback part of my page, so you can start sending me feedback and comments etc to my posts again. It have been disabled for a long time because a lot of SPAM. The new blog it written in ASP.Net 2.0 and I have some few things left until it will be published. I hope I will get the time to make it ready to the weekend but can’t promise anything because I’m also going to record some more movies to Microsoft about ASP.Net Ajax and new features in “Orcas” etc.  But you are still free to send me an e-mail with your thoughts and feedbacks etc. I don’t have time to read all of them and please if you have any questions (not regarding my content), please post them to www.asp.net because I got a lot of questions and can’t answer all of them. Thanks for the understanding.



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
  • Preview of my new blog

    During yesterday evening and today I have done most of the last part of my new blog engine. It’s written in ASP.Net 2.0 with some few ASP.Net Ajax features.  I have enabled the Comments feature again after about 2 years ;) I got a lot of SPAM and needed to turn it off. Then I lost the code for the blog that was written in ASP.Net 1.1, so I couldn’t turn it back on easy. That is one of the reasons why I have done on with ASP.Net 2.0. You can find the blog at the following address: http://atlas.brimba.nu . The only thing that is left until I will deploy it to this address (fredrik.nsquared2.com) is to upgrade my RSS to 2.0.

    I have only made sure the layout of the new blog works with Internet Explorer 7, and I will probably not spend any time to make the color etc work for other browser (not true). I will only change things that will make the navigation or text unreadable, so if you use another browser and try the preview, please let me know about some issues.

    You are free to use the new blog to write comments etc, it will have the same posts as this blog does (they work against the same data source).  The comments will still exist when the blog is deployed to this address. So I encourage you to write comments if you have any ;)

     

    NOTE!! DON’T GIVE OR DON’T ADD ANY POINTERS TO THE NEW BLOG UNTIL IT’S DEPLOYED TO fredrik.nsquared2.com ADDRESS because I will close the "http://atlas.brimba.nu" down when I have deployed it under this address.

     

    By the way, do you know that Testing will be moved to the Professional version of Visual Studio “Orcas”, so no need to get a “Developer” edition and it will have an increased performance and workflow)!? Well now you all know at least ;)



    Computers Blogs - Blog Top Sites
    Bloggtoppen.se
Fler poster Nästa sida »

Den här bloggen

Syndication