Browse by Tags
All Tags »
Tips (
RSS)
I got an assignment that should be done using VB.NET. Well, to be honest I don't like the syntax of this language and I guess my reasons were raise by other here and then so I will not raise it again. Anyway, I look for few tools and documents that will...
I use the following method when I had to call an Asp web page which return to me the result as Xml, from my Web Services. It was done in order to externalize the services from an existing DNA application to a Smart Client. public static string GetABHttpRequest...
I wrote a transaction simple provider a month ago and I so it can be improved by making it safely available at a thread level using ThreadStatic attribute. Here is a nice article , showing just that. ThreadStatic attribute is usefull especially when you...
I always like the double.TryParse for getting a numeric value from a given input string. I avoid a try/catch block with Parse or casting in order to get my numeric input and thus avoid un necessary exceptions when my input is not valid number. Minimize...
Otherwise its not working... string sMessage = MyApplication.Texts.GetString(ExceptionKeys.ErrUnexpected); string[] msgParts = sMessage.Split(Environment.NewLine.ToCharArray()); string formatMessage = string.Empty; //format the error message using new...
This is something which being done in lots of projects and companies. We create a virtual disk that point to a physical folder in our physical disk and we copy our compiled assemblies to this folder. We compile our re-usable assemblies with strong name...
printing solutions over our web applications using Html's is not trivial. Its getting harder when we need to calculate the printing output number of pages and when we need to add an header and footer in each page at the exact position. Microsoft enhance...
I like this recommendation text I attached, about the way we should consider to handle our Dal exception/s because its very clear, simple and convincing. The following attach text is from a one of the architecture guide within the Microsoft architecture...
I might have skept it while passing over the documentation but I saw it in the entLib message board in this thread While looking for it using google I also find this interesting post that explain how to dynamically set the sql connection within the data...
Our server/s memory is not endless and we need to divide it between our OS and our applications wisely in order to achieve better performance. In order to optimize the use of our server memory we should be familiar with three terms: Page File The memory...
More Posts
Next page »