Thursday, August 28, 2008 RegisterLogin
Menu
Counter
Tomasz Modelski IT site
86_115_web.jpg My name is Tomasz Modelski.
This is my web site about IT , my proffesional interests.
If you're looking for my CV / resume, please go here.
Main topics of this site are : .Net, web development, software architecture, frameworks, BizTalk Server, project management, ...... .

My blog
Author:Tomasz ModelskiCreated:2007-03-16 23:22:24Z
Tomasz Modelski IT blog

By Tomasz Modelski on 2008-08-08 20:01:24Z

I needed T-SQL spli function and found on : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=543217&SiteID=1
by Jens Suessmeyer :

 

CREATE FUNCTION dbo.Split

& ... Read More »

By Tomasz Modelski on 2008-08-07 13:06:05Z

I've encountered some very little small issue - string should not be longer that a certain number.
Substring method [ s.Substring(0,number) ] raises exception when string lenght is lesser than above number.

So small thing and additional code is required. 
The best solution that come to my mind is to write extension method to string class.

Google .. and I've found it on Codeplex:
dotNetExt - .NET Extension Method Library

It has method Left(number) - I needed exactly such.
Another nice thing is that methods are well writen and deals nicly with nulls string, so :
string s=null;
string s1=s.Left(10);

executes without exception 'Object reference .... ' and s1=null.

Nice. This's beta, looking forward for release version.

Read More »

By Tomasz Modelski on 2008-08-05 09:23:50Z

After upgrade DotNetNuke to 4.6 and higher versions error occurs : Page Host > Module Definitions > Import module definition is empty.

I've found solution  on DNN forums , and posted it in 'usable' version :.

So, the solution is to run SQL script with Run as Script option, in Host > SQL :

IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'{databaseOwner}[{objectQualifier}GetUserRoles]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
  DROP PROCEDURE {databaseOwner}{objectQualifier}GetUserRoles
GO

CREATE PROCEDURE {databaseOwner}{objectQualifier}GetUserRoles 
@PortalId  int,
@U ...
Read More »

By Tomasz Modelski on 2008-05-20 05:27:54Z

Text by Panos Tzirakis & George Dounavis found on http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=722132&SiteID=1

 

As you may all know, SQL Server 2005 requ ... Read More »

By Tomasz Modelski on 2008-04-26 16:04:41Z

I didn't post anything for so long time.
A lot avtivities, studing & work. If I will find I'll write down new things I've discovered and worked on, ex: Ajax Pro on .Net 1.1 ans Sharepoint 2003, stored procs execution caching in SPS development, business methods caching, ... .

Found recently :

By Tomasz Modelski on 2007-12-06 13:54:19Z

http://labs.live.com/volta/

From the Votla Faq:

Q: What is Volta?

A: Volta is an experimental developer toolset that allows developers to build standards-conformant, multi-tier web applications using established .NET languages, libraries and development tools. Via declarative tier-splitting, developers architect their applications as a single-tier application, then make decisions about moving logic to other tiers late in the development process- letting the complier manage creating boilerplate code such as communication between tiers. The programmer can still debug and test the application, much as if it were still on the client-tier, because Volta's tier-splitting is deeply integrated with Visual Studio 2008 and the .NET Framework 3.5. In summary, Volta extends the .NET platform ... Read More »

MCP-RGB-smaller.gif

Quick links
Whats New?
Copyright 2007 by My WebsiteTerms Of UsePrivacy Statement