|
|
Browse by Tags
All Tags » .Net (RSS)
Showing page 1 of 3 (28 total posts)
-
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" ...
-
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 = ...
-
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 ...
-
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 ...
-
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 ...
-
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[
...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
1
|
|
|