Comunidade Bloggers |create|it|

Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help
in Search

Browse by Tags

All Tags » .Net   (RSS)
Showing page 1 of 3 (28 total posts)
  • LINQ to XML: How to use it?

    Frequently, the most of people use XPATH to do xml manipulation. But if you want another way to manipulate XML, you can use LINQ to XML. Supposing that we have the following XML:<?xml version="1.0" encoding="utf-8"?> <ArrayOfEmployee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
    Posted to António Vargas - SharePoint 2010 (Weblog) by antoniovargas on October 18, 2009
  • How to serialize an array or a list?

    I needed to serialize an array few weeks ago and i found one way to perform this serialization. I performed the serialization for the following objects:_persons.Add(new Employee { FirstName = "John", LastName = "Smith", Age = 32, EmployeeNumber = 213 }); _persons.Add(new Employee { FirstName = "Mike", LastName = ...
    Posted to António Vargas - SharePoint 2010 (Weblog) by antoniovargas on October 18, 2009
  • Cast vs OfType: Which should i use to cast an object’s list?

    In this post i will explain what’s the differences between Cast() and OfType() methods using LINQ, and i will also explain when we should use each method. These methods allow us to cast an object type to another, but when you’re using the Cast() method and exist some object that isn’t of the expected class type, it will throw ...
    Posted to António Vargas - SharePoint 2010 (Weblog) by antoniovargas on September 26, 2009
  • DevDays 2009

    Realizou-se a semana passada o DevDays 2009, o evento anual da Microsoft Portugal destinado a juntar profissionais e curiosos em torno das tecnologias da casa, que este ano foi organizado no campus do Tagus Park do Instituto Superior Técnico. Para mim foi uma novidade a participação neste tipo de eventos, e logo com a oportunidade de fazer uma ...
    Posted to Marco André Silva (Weblog) by maps on February 23, 2009
  • Sign Unsigned Assembly in .net

    When you have an assembly, that is not signed, and you need to sign it you will need to run the following commands: MSIL Disassembler (Ildasm.exe)- http://msdn.microsoft.com/en-us/library/f7dy01k1(VS.80).aspx MSIL Assembler (Ilasm.exe) - http://msdn.microsoft.com/en-us/library/496e4ekx(VS.80).aspx Example: ildasm ASSEMBLY.dll ...
    Posted to Raúl Ribeiro (Weblog) by admin on December 2, 2008
  • .NET XML Serialization of CDATA ATTRIBUTE

    Recently I needed to create a .NET class (C#) that when serialized should contain a CDATA attribute similar to this: <?xml version="1.0" encoding="utf-8" ?> <RootNode Type="zzzzz" Version="1" > <CDataAttribute> <![CDATA[ ...
    Posted to Marco André Silva (Weblog) by maps on November 23, 2008
  • TechEd EMEA 2008

    Next week i'll be @ TechEd EMEA 2008 Developers in Barcelona with my colleague João Martins aka "Jota". I hope it will be a very interesting week, Pedro Rosa from Microsoft Portugal is the owner of the dev track, and has very good sessions lined up. So if you are going to TechEd and want to meet/talk about ...
    Posted to Raúl Ribeiro (Weblog) by admin on November 4, 2008
  • SharePoint 2007 - Checking if a Workflow Instance is Completed

    Introduction This blog post will show you how to check if a certain workflow instance is completed in a SharePoint list. In this example, let's assume that the default "Documents" document library in a team site is configured with a Collect Feedback workflow and that a new instance is started every time a new document is added to the ...
    Posted to Miguel Isidoro (Weblog) by misidoro on October 25, 2008
  • XNA is Not an Acronym

    Are you a gamer? Are you a .Net developer? Do you still dream about being a game developer? Then Microsoft has good news for you. If you answers "yes" to all of the above questions and you own an Xbox 360, then XNA should be the first word in your vocabulary. About 3 weeks ago I went to a small Microsoft event called XNA Pizza Night ...
    Posted to André Vala (Weblog) by andrevala on July 6, 2008
  • The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

    Because I have pages with the markup <%= someVariable%> like <script type="text/javascript"> function ConfirmCallBack(arg) { if (arg) <%= this._nextPostBack%> } </script> I get the following error: "The Controls collection cannot be modified because the control ...
    Posted to Ricardo Costa (Weblog) by ricardo.costa on May 7, 2008
1 2 3 Next >
Powered by Community Server, by Telligent Systems