By Tomasz Modelski on 2008-10-17 08:22:03Z
I've fixed error on Links Tagged -> Online Demo -> My Links page .
Registered user was unable to edit links (add, edit, update), now it's fixed.
|
By Tomasz Modelski on 2008-10-16 11:24:04Z
Finally, I've done release 1.0 of 'TM Links Tagged' project - DNN modules that allow display, browse, manage links (bookmarks) with tags. Links can be even imported from Firefox 3.x backup file.
Please, go to project page.
There is online demo and free version available. You can buy Links Tagged on Snowcovered. I'm very very happy. I've learned a lot doing this project and release.
|
By Tomasz Modelski on 2008-10-15 22:18:23Z
I've done upgrade to Dot Net Nuke 4.9 version.
Upgrade was smooth and without any problems. But I've noticed one bug, releated to FckEditor (new provider) and blog.
On add or edit blog entry, in Summary text box, auto text is inserted '<p> </p>'.
You can't see it in Rich Text mode, but it is, and when you finish, summary from blog entry won;t be generated, because there is already invisible summary '<p> </p>'.
I need to remember always to switch summary to Basic mode and remove auto inserted HTML characters.
|
By Tomasz Modelski on 2008-08-08 20:01:24Z
I needed T-SQL split function and found on : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=543217&SiteID=1
by Jens Suessmeyer : CREATE FUNCTION dbo.Split
(
@String VARCHAR(200),
@Delimiter VARCHAR(5)
)
RETURNS @SplittedValues TABLE
(
OccurenceId SMALLINT IDENTITY(1,1),
SplitValue VARCHAR(200)
)
AS
BEGIN
DECLARE @SplitLength INT
WHILE LEN(@String) > 0
BEGIN
SELECT @SplitLength = (CASE CHARINDEX(@Delimiter,@String) WHEN 0 THEN
LEN(@String) ELSE CHARINDEX(@Delimiter,@String) -1 END)
INSERT INTO @SplittedValues
SELECT SUBSTRING(@String,1,@SplitLength)
SELECT @String = (CASE (LEN(@String) - @SplitLength) WHEN 0 THEN ''
ELSE RIGHT(@String, LEN(@String) - @SplitLength - 1) END)
...
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.
|
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,
@UserId int
AS
SELECT
R.*,
UR.UserRoleID,
U.UserID,
U.DisplayName,
U.Email,
UR.EffectiveDate,
UR.ExpiryDate,
UR.IsTrialUsed
FROM {databaseOwner}{objectQualifier}UserRoles UR
INNER JOIN {databaseOwner ...
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 request a minimum of 8GB RAM to work… let say satisfactorily. I first didn’t knew that and after a while from the upgrade I did from SQL Server 2000 to 2005 my SQL Services were starting to crash three or four times per DAY!!! At first I thought I was being attacked, but soon I realized it was nothing like that. I then decided to downgrade to an SQL Server 2000 edition. Though I looked around the internet to find some information on how to do that, I got very disappointed when I realized that no actual documentation of any kind could be found for that. So I am posting this thread to inform ...
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 to distributed software+services applications, by using existing and familiar libraries, languages, tools, and techniques. Q: What is the overall goal of Volta? A: The goal of Volta is to simplify the designing, building, deploying, testing, and debugging of distributed, multi-tier applications, while minimizing the amount of "new stuff" developers must learn. Volta leverages familiar, existing .NET compilers, tools, and libraries and extends them into the distributed realm. Volta achieves this goal by declarative tier-splitting: Volta inserts communication and serialization boilerplate code in response to developer-supplied declarations in the form of .NET custom attributes. By releasing Volta as a technology preview, we hope to learn from our customers how this approach opens up new opportunities and simplifies existing scenarios. ...
Read More »
|
|
By Tomasz Modelski on 2007-12-05 14:57:46Z
Nice article about profits and disadvantages of using code generators, by Tom Hollander : http://blogs.msdn.com/tomholl/archive/2007/11/17/
code-generators-can-t-live-with-them-can-t-live-without-them.aspx
|
|
By Tomasz Modelski on 2007-12-05 14:55:50Z
Few interesting links :
|
|
By Tomasz Modelski on 2007-12-05 13:52:44Z
Common VS 2008 problems & how to solve them : http://alpascual.com/blog/al/archive/2007/12/03/visual-studio-2008-surviving-guide.aspx
|
By Tomasz Modelski on 2007-12-04 11:10:50Z
http://www.umlet.com/
|
By Tomasz Modelski on 2007-12-04 11:09:10Z
I really like it : http://simpable.com/software/7-hard-things/ by Scott Watermasysk. It's so good that I will paste it here : 1. Make choices - Not everything needs to be adjustable or needs an option. Many times, it just needs to work. 2. Delete code - Sometimes even the best ideas will not work (or are not worth keeping). Admit that at this time, based on what you know, the tools at your disposal, and the requirements for success you just need to move on. 3. NIH (not invented here) - Realize that even though you would have written something better, more scalable, and usable...if it meets your goals as is, you should focus your attention elsewhere. 4. UI is more important than code - You can write the absolute best code the world has ever seen and if you present it like a turd, your code, to the world is a turd. 5. Solve Problems - Realize that to more than 99.9% of the worlds population, code/technology are simply a means to an end. Software solves problems. The world really doesn't care how or why it works. 6. You Are Different - When you write software, in most cases, you are not the typical end user. Your users are not looking for a challenge. For most, there are a million other things they would rather be doing than using your application. 7. Documentation - Yes, documentation is necessary, but users do NOT want to read it. If your users are asking you for more documentation, the lack of documentation is not really the problem. Your application is too complicated. See The Paradox of the Active User.
|