C#


C# and Microsoft and Programming23 Apr 2008 09:16 am

ASP.net

1. Do use ASP.NET MVC (or at least learn the web like everybody else)

Don’t deal with ViewState, don’t deal with leaky abstractions of the web in a way that confounds you. You’ll thank yourself for writing cleaner code that you can test, and for mastering the deceptively simple art of web development. “It’s all just markup” is a mantra that will keep you on track when you feel overwhelmed with the new model, but it’s a new model you want to learn. If you don’t want to learn ASP.NET MVC, do yourself a favor and disable ViewState at the page level, and do what you can to avoid using it, whether that’s baking your own MVC-like “markup + business objects” design, or embracing the client-centric development model with JavaScript against ASP.NET controls that don’t require ViewState. Make friends with the Repeater.


Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and Microsoft and Programming21 Apr 2008 10:42 am

“Using statement?”, you may ask. “What is so interesting about that? I use it every day importing tons of namespaces!”
Well, i mean the other using statement; that one that results in a nice try..finally in IL, without having to write lots of code.

Well lets say you want to access a file, a database, or whatever resource that needs to be closed after usage:


Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and Programming07 Apr 2008 08:03 am

camping-xml-situps1.png

So recently I had to read an xml file and then bind it to a dataset/gridview. I knew there had to be an easy way. This is how I ended up doing it:

aspx

asp :GridView ID="gvDocActivity" runat="server" AutoGenerateColumns="false" /


Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and Microsoft and Programming and SharePoint20 Mar 2008 11:36 am

Was getting this error:

Application Server job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (34c9a339-ef4a-454b-a288-812fd2fd1270).

Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and PC and PDF19 Mar 2008 09:22 am

We were using aspose.PDF + aspose.word on our local dev computers and everything worked fine (windows 2k3 server 32bit)  We then deployed to our test server Windows 2k3 64bit and the site blew up.
Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and PDF18 Mar 2008 08:43 am

We are using the Aspose product for pdf to convert word docs to pdf.  We also wanted to use that same product to convert txt docs into pdf.  Unlike most other pdf convertor tools, aspose dosn’t have a auto convert to pdf for txt docs.  The solution to this problem is to stream in the txt doc and create a new pdf from it.

Code Below:
Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and C/C++ and CSS and HTML and Microsoft and PHP and Reference and Ruby17 Mar 2008 10:12 pm

Whether you program in C++ or code in HTML, you’ve probably encountered a quick reference (”quickref” for short) at some point in your career. These handy guides aren’t meant to teach newbies how to use the language, but are more like the index at the back of your textbook except condensed and consolidated in a few pages. Today’s post lists a few useful quickrefs that I’ve accumulated over the years.
Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
Apple and C# and Windows16 Mar 2008 05:26 pm

Sharp and Objective
This may come as a surprise for some people, but I’ve been using C# and Objective-C both for almost exactly as long (between three and four years). What you might call my current day job is comprised of writing C# code.
Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and Microsoft and SharePoint12 Mar 2008 03:54 pm

Common SharePoint Errors and their fixes:

I have run into a lot of errors while programming for SharePoint.  Here are a few that I think everyone should find about and figure out how to solve.


Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine
C# and SharePoint11 Mar 2008 09:41 am

After working with SharePoint for awhile, I have found a few tools that I think save a lot of time. 

Tools I recommend looking into:
Continue Reading »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • NewsVine
  • Blogsvine

Next Page »

Computers Programming Blogs - BlogCatalog Blog Directory Computers blogs Clicky Web Analytics Powered by FeedBurner