Gunnar Peipman's ASP.NET blog
ASP.NET, C#, SharePoint, SQL Server and general software development topics.
-
Some notes about custom C# application and Exchange Server 2003 integration
Custom C# application and Exchange Server 2003 integration over WebDAV was one of the tasks I lately worked on. I made posting about how to log on to Outlook Web Access when FBA is used but I didn’t mentioned that I had to read data from Exchange public folders. There are some stuff that may drive you nuts but there are also some tricks to use to get everything work as expected.
-
Refactoring: rename method
One of the simplest refactoring methods is called Rename method. There are many reasons why one may want to change the name of some method. I think that main reason to rename a method is to give it a name that describes better what method is supposed to do.
-
Links 2009-02-07
SharePoint
- Installing a Language Pack for MOSS
Mauro Cardarelli writes about how to install language packs to MOSS 2007. It is good guide to follow if you have clean MOSS 2007 install without any language packs.
- Building multi-lingual SharePoint sites - introducing the Language Store
Chris O’Brien writes about how to use SPLanguageStore to create multi-lingual SharePoint sites where you can easily manage the translations through SharePoint user interface.
- ServerTemplate Numbers
Evan Grimmett offers us a table of SharePoint list template numeric codes. It is handsome list to use when you have to create lists and templates through code.
.Net
- Debugging Slides
Zain Naboulsi offers some slides from his Visual Studio 2008 debugging tips and tricks presentation.
- .NET Memory Leak: To dispose or not to dispose, that’s the 1 GB question
Tess Ferrandez writes about importance of disposing objects. Through the use of debugging tools we can see how Tess analyzes problems with code and finds the reason of memory leaks. Suggested reading for all developers.
- When is a Type not a Type?
Brad Wilson gives us overview of .Net Type class and the types itself and describes some interesting facts related to types in .Net.
- Installing a Language Pack for MOSS
-
Apache, IIS and 502 proxy error
I have some servers in my network. There is one public Apache server that proxies requests to these servers. These servers are not directly visible from internet. Some of these servers run IIS and ASP.NET web applications. When accessing these servers through internet then sometimes Apache reports a problem: 502 proxy error.
-
SharePoint: temporary solution for GetCustomProperty and SetCustomProperty errors
Another day, another kinky problem with SharePoint. This time I struggled with custom properties of my custom field. I tried out different code samples to make GetCustomProperty and SetCustomProperty to work but no luck at all – nothing worked for me. There was no errors when adding field to list or changing field properties but custom properties were never saved. I don’t like solutions like my version comments solution but some (not only some, sorry) parts of SharePoint need brutality and violence to work like expected. But I have solution.
-
SharePoint: why are my custom content type forms empty?
Okay, this is the hit of the month for me. Well, we had to use custom forms with some content types. Everything went fine until all those custom forms showed up empty. No errors on screen, no errors in log files, no errors in event log. Also diagnostic messages were not helpful. But … solution was simple.
-
Creating downloadable calendar item of SPListItem
Recently I prepared some code to download calendar item from SharePoint web part to user computer. I was lucky because the web part will only be used on details view of one list. The testing code I wrote was simple and short.
-
Creating SharePoint global calendar
Creating global calendar that shows data from different calendars is something that SharePoint doesn’t have out-of-box. Using site data query and calendar view control we can easily create global calendar and make it show data from lists we want.
-
whitehouse.gov runs on ASP.NET
I found some information about www.whitehouse.gov web site and it turns out that this site runs on ASP.NET. Some interesting characteristics:
-
Refactoring
Here you can find links to my postings that introduce source code refactoring methods. If I have done good job then after reading these postings you should be able to write more readable code than before.