<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2072308271950310432</id><updated>2011-11-28T01:11:20.712+01:00</updated><category term='SharePoint'/><category term='Visual Studio'/><category term='PowerShell'/><category term='web framework'/><category term='Software Architecture'/><category term='Design Patterns'/><category term='TFS'/><category term='Extensibity'/><category term='ASP.NET MVC'/><category term='ASP.NET'/><category term='.NET'/><title type='text'>NMarian</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-6355140238787803958</id><published>2010-07-21T11:23:00.004+02:00</published><updated>2010-07-21T11:26:20.907+02:00</updated><title type='text'>SEO Audit</title><summary type='text'>Dnes spúšťam môj nový projekt SEO Audit na http://seo-audit.sk</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/6355140238787803958/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=6355140238787803958' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6355140238787803958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6355140238787803958'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2010/07/seo-audit.html' title='SEO Audit'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-3962633183728152538</id><published>2010-02-21T21:54:00.003+01:00</published><updated>2010-02-21T22:02:42.092+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Design Patterns'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Architecture'/><title type='text'>Book review - Microsoft .NET: Architecting Applications for the Enterprise</title><summary type='text'>I've just ended reading of Microsoft .NET: Architecting Applications for the Enterprise (PRO-Developer) from MS Press. It's very valued book for .NET developers and architects.In the first part book describes fundamental design princiles for design of object oriented software:separation of concernsopen/closed principleLiskov's substitution principledependency inversion principleIn the second part</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/3962633183728152538/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=3962633183728152538' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/3962633183728152538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/3962633183728152538'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2010/02/book-review-microsoft-net-architecting.html' title='Book review - Microsoft .NET: Architecting Applications for the Enterprise'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i47.tinypic.com/2iae4k4_th.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-5156594932513076252</id><published>2010-02-04T23:00:00.004+01:00</published><updated>2010-02-04T23:11:45.256+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TFS'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><title type='text'>PowerShell and Team Foundation Server API</title><summary type='text'>Team Foundation Server has a great API and you can use it to extend its capabilities or automatize tasks and so on. This API can be also used from PowerShell, which demonstrates this post. You have to know only how to use .NET from PowerShell. Following code uses TFS API to get count of new lines of code added in specified changeset:   1:  #########################################################</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/5156594932513076252/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=5156594932513076252' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/5156594932513076252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/5156594932513076252'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2010/02/powershell-and-team-foundation-server.html' title='PowerShell and Team Foundation Server API'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i46.tinypic.com/116rs5k_th.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-247922542244002585</id><published>2009-10-07T20:18:00.002+02:00</published><updated>2010-01-19T16:12:48.584+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><title type='text'>PowerShell and SharePoint API</title><summary type='text'>PowerShell and SharePoint API is really powerfull combination which can help us to automatize administration and development tasks. SharePoint exposes .NET API which can be typically called from some .NET programming language such as C#. Using this approach we have to write code, compile it and than run. SharePoint API can be also used from PowerShell, this approach removes the step of </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/247922542244002585/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=247922542244002585' title='1 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/247922542244002585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/247922542244002585'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2009/10/powershell-and-sharepoint-api.html' title='PowerShell and SharePoint API'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i36.tinypic.com/2s1sjso_th.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-5778428126007995157</id><published>2009-09-21T16:11:00.002+02:00</published><updated>2010-01-19T16:17:23.326+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Extensibity'/><title type='text'>Visual Studio Macros</title><summary type='text'>I think Visual Studio macros is interesting feature which is not often used. Using macros you can automate repetitive tasks and increase your development productivity. You can create your own macros using Macro Exlorer (View - Other Windows - Macro Explorer). My sample shows macro for generating new GUID in {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} format, which is common task at SharePoint </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/5778428126007995157/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=5778428126007995157' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/5778428126007995157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/5778428126007995157'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2009/09/visual-studio-macros.html' title='Visual Studio Macros'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i36.tinypic.com/2mf0w0l_th.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-1313457927730242390</id><published>2009-01-18T12:06:00.000+01:00</published><updated>2009-01-18T13:10:28.809+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='web framework'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET MVC'/><title type='text'>Porovnanie ASP.NET WebForms a ASP.NET MVC</title><summary type='text'>Už dlhšie ako rok je v ASP.NET komunite témou číslo jedna pripravovaný framework ASP.NET MVC. Moje porovnanie nepopisuje rozdiely na implementačnej ale na vyššej úrovni, na úrovni architektúry. Vzor Model View Controller (MVC) nie je v skutočnosti ničím novým. Prvý krát bol popísaný v roku 1979 a v Java komunite je velmi populárny už mnoho rokov. Len pre zaujímavosť, Microsoft v roku 2003 vnímal </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/1313457927730242390/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=1313457927730242390' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/1313457927730242390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/1313457927730242390'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2009/01/porovnanie-aspnet-webforms-aspnet-mvc.html' title='Porovnanie ASP.NET WebForms a ASP.NET MVC'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-8644653856799062112</id><published>2009-01-06T23:05:00.000+01:00</published><updated>2009-01-06T23:34:30.303+01:00</updated><title type='text'>Zlo pri vývoji softvéru</title><summary type='text'>Pred niekoľkými rokmi som definoval základné chyby, ktoré sa neustále opakujú pri vývoji softvéru. Tieto chyby sú aj pri malých projektoch, ktoré vyvíjajú jednotlivci a takisto sa vyskytujú aj v projektoch pre top klientov, ktoré implementujú vývojarské týmy. Ignorácia týchto nedostatkov má za následok, že vyvíjaný systém sa časom stáva neudržiavateľným, resp. jeho údržba a rozširovanie je veľmi </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/8644653856799062112/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=8644653856799062112' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8644653856799062112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8644653856799062112'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2009/01/zlo-pri-vvoji-softvru.html' title='Zlo pri vývoji softvéru'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-7362974223743418605</id><published>2008-07-03T23:28:00.001+02:00</published><updated>2008-07-03T23:46:53.948+02:00</updated><title type='text'>Moq</title><summary type='text'>Moq je zaujímavá knižnica na vytváranie mock-ov, ktoré často používame pri testovaní, konkrétne pri vytvaraní nepravých (mock) implementácií. Páči sa mi jednoduchosť použitia a taktiež to, že využíva nové vlastnosti .NET 3.5 a jazyka C# 3.0 (lambda expressions, ....). V príklade je ukázené vytvorenie jednoduchej testovacej implementácie rozhrania. Kĺúčovým krokom je vytvorenie očakávaní volaní (</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/7362974223743418605/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=7362974223743418605' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/7362974223743418605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/7362974223743418605'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2008/07/moq.html' title='Moq'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-4908785869449089819</id><published>2008-05-27T23:55:00.001+02:00</published><updated>2008-05-27T23:56:24.412+02:00</updated><title type='text'>Office Open XML - export do Excelu 2007</title><summary type='text'>Práve som riešil problém exportu dát do formátu OOXML pre Excel 2007. Export do tohto formátu prakticky znamená iba vytvoriť sadu XML dokumentov a tie skomprimovať do ZIP archívu. Keďže sa mi nechcelo študovať špecifikáciu OOXML, rozhodol som sa hladať nejakú knižnicu, ktorá by mi poskytla požadovanú úroveň abstrakcie. ExcelPackage je presne tým čo som hladal.   </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/4908785869449089819/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=4908785869449089819' title='1 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/4908785869449089819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/4908785869449089819'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2008/05/office-open-xml-export-do-excelu-2007.html' title='Office Open XML - export do Excelu 2007'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-8555232883396584192</id><published>2008-04-11T09:21:00.001+02:00</published><updated>2008-04-11T09:28:12.333+02:00</updated><title type='text'>LINQPad</title><summary type='text'>Táto zaujímava utilita pripomínajúca Microsoft SQL Server Management Studio slúži na písanie LINQ príkazov (LINQ to SQL). LINQPad je veľmi nápomocný pri učení technológie LINQ to SQL. Zobrazuje výsledky vykonaného príkazu vo forme tabuliek, lambda výraz a taktiež aj SQL výraz.   </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/8555232883396584192/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=8555232883396584192' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8555232883396584192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8555232883396584192'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2008/04/linqpad.html' title='LINQPad'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-6649456419855225972</id><published>2007-10-03T22:41:00.000+02:00</published><updated>2007-10-03T22:43:44.568+02:00</updated><title type='text'>LINQ to XML - XDocument a String</title><summary type='text'>V tomto príspevku sú vyzdvihované XML literály jazyka VB9 v porovnaní s C# 3.0. Hlavnou výhodou XML literálov je sprehľadnenie kódu. Podobný výsledok môžeme však jednoducho dosiahnúť aj v C# 3.0 vytvorením vlastnej rozšírujúcej metódy (extension method), ktorá bude parsovať reťazec na XDocument takto:&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;   1:  using System;   2:  using </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/6649456419855225972/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=6649456419855225972' title='2 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6649456419855225972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6649456419855225972'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/10/linq-to-xml-xdocument-string.html' title='LINQ to XML - XDocument a String'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-6745423728398750557</id><published>2007-10-01T19:10:00.000+02:00</published><updated>2007-10-01T19:13:09.765+02:00</updated><title type='text'>IL Merge - Quick Start</title><summary type='text'>ILMerge is utility that merges set of .NET assemblies into single .NET assembly. To use ILMerge download it from here and run installation. Using of ILMerge ilustrates following command:ILMerge /out:MergedAssembly.exe Application.exe Library1.dll Library2.dll Library3.dllILMerge is a console application, but it can be also used as library. Assemblies containing unmanaged code can't be merged.</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/6745423728398750557/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=6745423728398750557' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6745423728398750557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6745423728398750557'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/10/il-merge-quick-start.html' title='IL Merge - Quick Start'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-8298292724175243700</id><published>2007-10-01T08:36:00.001+02:00</published><updated>2010-01-19T16:22:39.927+01:00</updated><title type='text'>DoEvents in WPF</title><summary type='text'>I developed some WPF application with ProgressBar control and I solved problem how to realize the equivalent of Application.DoEvents() method in WPF. WPF based solution using dispatcher is described here. But I discovered that for this purposes can be also well known System.Windows.Forms.Application.DoEvents() method used. It is very easy, just add reference to system.windows.forms.dll assembly </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/8298292724175243700/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=8298292724175243700' title='2 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8298292724175243700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8298292724175243700'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/09/doevents-in-wpf.html' title='DoEvents in WPF'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-8516279811400965011</id><published>2007-08-14T23:02:00.001+02:00</published><updated>2007-08-14T23:04:40.866+02:00</updated><title type='text'>ASP.NET - DataGrid rendered with thead, tbody, th, ....</title><summary type='text'>By default DataGrid is rendered with tags &lt;table&gt;, &lt;tr&gt; and &lt;td&gt;. To make styling with CSS easier it would also suitable to render also tags &lt;thead&gt;, &lt;tbody&gt;, &lt;th&gt; etc. To solve this problem I created custom DataGrid derived from System.Web.UI.WebControls.DataGrid, where in overriden method OnPreRender are realized modifications:&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;   1:  </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/8516279811400965011/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=8516279811400965011' title='1 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8516279811400965011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8516279811400965011'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/08/aspnet-datagrid-rendered-with-thead.html' title='ASP.NET - DataGrid rendered with thead, tbody, th, ....'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-8499647488781239283</id><published>2007-08-12T14:06:00.000+02:00</published><updated>2007-09-12T13:23:45.280+02:00</updated><title type='text'>ASP.NET AJAX - Script compression doesn't work in IE6</title><summary type='text'>I try to enable compression in script resource handler in web.config file:&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;   1:  &lt;system.web.extensions&gt;   2:      &lt;scripting&gt;   3:          &lt;scriptResourceHandler enableCompression="true" enableCaching="true" /&gt;   4:      &lt;/scripting&gt;   5:  &lt;/system.web.extensions&gt;Analyzing the network traffic I discover that this works fine under Opera, </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/8499647488781239283/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=8499647488781239283' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8499647488781239283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/8499647488781239283'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/08/aspnet-ajax-script-compression-dont.html' title='ASP.NET AJAX - Script compression doesn&apos;t work in IE6'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-2681671878715683340</id><published>2007-07-14T20:50:00.000+02:00</published><updated>2007-07-14T21:06:42.699+02:00</updated><title type='text'>.NET - spustenie súkromnej metódy rodičovskej triedy pomocou reflexie</title><summary type='text'>Raz som pri unit testoch potreboval spustiť súkromnú metódu rodičovskej triedy pomocou reflexie. Problémom je, že metóda GetMethod triedy System.Type nevráti MethodInfo pre súkromné metódy definované na úrovni rodičovskej triedy. Môj trik spočíva v tom, že MethodInfo je vytvorené pre rodičovskú triedu a Invoke je volané s parametrom kde je odkaz na triedu potomka:   1:  // Faq inherits from </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/2681671878715683340/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=2681671878715683340' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/2681671878715683340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/2681671878715683340'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/07/net-spustenie-skromnej-metdy-rodiovskej.html' title='.NET - spustenie súkromnej metódy rodičovskej triedy pomocou reflexie'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-3850253643341602721</id><published>2007-07-14T20:38:00.000+02:00</published><updated>2007-07-14T21:11:29.321+02:00</updated><title type='text'>C# - podmienený preklad pomocou ConditionalAttribute</title><summary type='text'>Podmienený preklad v C# môžeme zrealizovať pomocou kódu:&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;   1:  #if DEBUG   2:  void ConditionalMethod()   3:  {   4:      // ....   5:  }   6:  #endifElegantnejšie riešenie je podľa mňa použitie atribútu [Conditional], pretože pokiaľ nebude definovaný symbol DEBUG, tak aj volania metódy ConditionalMethod budú pri preklade vynechané:&lt;!-- </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/3850253643341602721/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=3850253643341602721' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/3850253643341602721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/3850253643341602721'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/07/c-podmienen-preklad-pomocou.html' title='C# - podmienený preklad pomocou ConditionalAttribute'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-35564991762811568</id><published>2007-07-14T19:28:00.000+02:00</published><updated>2007-07-14T19:38:35.133+02:00</updated><title type='text'>WS-Security pomocou WSE 3.0 bez X.509 certifikátov</title><summary type='text'>Nedávno som potreboval zabezpečiť webovú službu aspoň na takej úrovni, aby jej nemohol hocikto posielať správy. Rozhodol som sa použiť Web Services Enhancements 3.0 for Microsoft .NET. Chcel som, aby SOAP správy prichádzajúce k webovej službe boli digitálne podpísané (aby počas prenosu sieťou nikto nemohol meniť obsah správy), nechcel som však použiť X.509 certifikáty pretože by bol problém s ich</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/35564991762811568/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=35564991762811568' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/35564991762811568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/35564991762811568'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/07/ws-security-pomocou-wse-30-bez-x509.html' title='WS-Security pomocou WSE 3.0 bez X.509 certifikátov'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-6918164957639504906</id><published>2007-07-14T18:37:00.000+02:00</published><updated>2007-07-14T21:04:35.998+02:00</updated><title type='text'>ASP.NET - DataGrid renderovaný s thead, tbody, th, ....</title><summary type='text'>Štandartne sa DataGrid renderuje tagmi &lt;table&gt;, &lt;tr&gt; a &lt;td&gt;. Pre zjednodušenie štýlovania tabuľky pomocu CSS je vhodné okrem spomínaných tagov renderovať aj tágy &lt;thead&gt;, &lt;tbody&gt;, &lt;th&gt; a podobne. Na riešenie tohto problému som vytvoril vlastný DataGrid odvodený od System.Web.UI.WebControls.DataGrid pričom v prekrytej metóde OnPreRender sú vykonané všetky potrebné úpravy:&lt;!-- code formatted by </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/6918164957639504906/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=6918164957639504906' title='2 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6918164957639504906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6918164957639504906'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/07/aspnet-datagrid-renderovan-s-thead.html' title='ASP.NET - DataGrid renderovaný s thead, tbody, th, ....'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-410352182541448615</id><published>2007-07-14T16:11:00.010+02:00</published><updated>2010-02-04T12:06:14.261+01:00</updated><title type='text'>ASP.NET - ako zistiť, či už stránka bola validovaná?</title><summary type='text'>V niektorých situáciach potrebujeme zistiť, či už prebehla validácia stránky. Ak by sme zavolali Page.IsValid ešte predtým ako prebehla validácia, tak by sme dostali výnimku. Moje riešenie tohto problému znázornené v nasledujúcej utilite využíva mechanizmus reflexie:   1:  using System.Web;   2:  using System.Web.UI;   3:  using System.Reflection;   4:      5:  public class PageUtil   6:  {   7:</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/410352182541448615/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=410352182541448615' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/410352182541448615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/410352182541448615'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/07/aspnet-ako-zisti-i-u-strnka-bola.html' title='ASP.NET - ako zistiť, či už stránka bola validovaná?'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-6426162917706693786</id><published>2007-07-11T11:22:00.000+02:00</published><updated>2007-07-12T11:46:24.288+02:00</updated><title type='text'>IL Merge - spájanie viacero .NET assemblies do jednej</title><summary type='text'>Včera som potreboval spojiť viacero .NET assemblies (jedna .exe a viacero .dll) do jednej. Vytvoril som jednoduchú WinForms aplikáciu, ktorá sa mala distribuovať iba kopírovaním (nechcel som použiť inštaláciu ani ClickOnce). Obsahovala jeden .exe súbor, viacero .dll a konfiguračný súbor.Na spájanie assemblies je určená utilita IL Merge. Pre konfiguračný súbor (app.config) som nastavil build </summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/6426162917706693786/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=6426162917706693786' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6426162917706693786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/6426162917706693786'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/07/il-merge-spjanie-viacero-net-assemblies.html' title='IL Merge - spájanie viacero .NET assemblies do jednej'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-5264982000497575765</id><published>2007-06-27T22:52:00.000+02:00</published><updated>2007-06-27T22:54:39.207+02:00</updated><title type='text'>Seriál o programovaní vo WCF</title><summary type='text'>Od začiatku roka píšem seriál o programovaní vo Windows Communication Foundation (WCF) pre server vyvojar.cz.</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/5264982000497575765/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=5264982000497575765' title='0 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/5264982000497575765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/5264982000497575765'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/06/seril-o-programovan-vo-wcf.html' title='Seriál o programovaní vo WCF'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072308271950310432.post-180012205620911624</id><published>2007-06-27T22:49:00.000+02:00</published><updated>2007-06-27T22:50:17.634+02:00</updated><title type='text'>Spustenie blogu</title><summary type='text'>Dnes som spustil môj osobný blog. Plánujem tu uverejňovať príspevky najmä z oblasti programovania a vývoja softvéru.</summary><link rel='replies' type='application/atom+xml' href='http://nmarian.blogspot.com/feeds/180012205620911624/comments/default' title='Zverejniť komentáre'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2072308271950310432&amp;postID=180012205620911624' title='1 komentárov'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/180012205620911624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072308271950310432/posts/default/180012205620911624'/><link rel='alternate' type='text/html' href='http://nmarian.blogspot.com/2007/06/spustenie-blogu.html' title='Spustenie blogu'/><author><name>Marián Košťál</name><uri>http://www.blogger.com/profile/15354403681318548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
