Tuesday, November 15, 2011

Implementando consultas de texto em dynamic data searches.

 

Copiar a pasta DynamicData\Filters folder

Criar um botão adequado no template apropriado

por exemplo em List.aspx

<asp:Button ID="searchButton" runat="server" Text="Search" OnClick="SearchButton_Click" />

 

no codebehind

 

coloque

protected void SearchButton_Click(object sender, EventArgs e)

{

((IQueryableDataSource)this.GridDataSource)

.RaiseViewChanged();

}

 

Veja mais detalhes no Blog de Jeroen Trappers

posted on Tuesday, November 15, 2011 2:20:33 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Wednesday, November 02, 2011

Regex Money

1.Matching money: \$\d+\.\d{2}

2.Matching money: \$(\d{1,3},)*\d+\.\d{2}

3.Matching money: \$(((\d{1,3},)+\d{3})|\d+)\.\d{2}

posted on Wednesday, November 02, 2011 9:43:04 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Introduction to ASP.Net Dynamic Data Websites and Creating Custom Pages in ASP.Net Dynamic Data Website gave a detailed understanding on Dynamic data and creating custom pages. As I said in my previous article, a real business world application requires a lot of customization on basic templates of dynamic data website to achieve our final goal.

 

More ...

posted on Wednesday, November 02, 2011 7:59:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, April 16, 2011

Project Description
ECommerce system based on the ASP.Net MVC 3.0 framework using RAzor view engine, .Net 4.0, Entity Framework, and Sql Server 2005/2008+.

MVC Commerce is a project by Setiri Group.

Join the MVCCommerce mailing list to keep updated on the project.

More in http://mvccommerce.codeplex.com/

posted on Saturday, April 16, 2011 2:45:35 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Tuesday, March 15, 2011

One of the things my team has been working on has been a new view engine option for ASP.NET.

ASP.NET MVC has always supported the concept of "view engines" - which are the pluggable modules that implement different template syntax options. The "default" view engine for ASP.NET MVC today uses the same .aspx/.ascx/.master file templates as ASP.NET Web Forms. Other popular ASP.NET MVC view engines used today include Spark and NHaml.

The new view-engine option we've been working on is optimized around HTML generation using a code-focused templating approach. The codename for this new view engine is "Razor.....

more : http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx

posted on Tuesday, March 15, 2011 6:50:51 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
posted on Tuesday, March 15, 2011 6:27:39 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Muitas discussões dos desenvolvedores sobre se devem usar ou aprender a ASP.NET MVC tem sido recorrente em blogs, Twitter e fóruns nas últimas semanas. As opiniões variam de não recomendar até ao ponto de que todos os desenvolvedores deveriam aprender. InfoQ tentou resumir um pouco da recente atividade em relação a este tópico.

http://www.infoq.com/br/news/2009/05/should-devs-learn-aspnetmvc

posted on Tuesday, March 15, 2011 6:25:57 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
posted on Tuesday, March 15, 2011 6:24:50 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, February 05, 2011
posted on Saturday, February 05, 2011 6:13:40 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Wednesday, January 12, 2011

Aprofunde-se as características, princípios e pilares da infra-estrutura MVC-habilmente guiados pelo desenvolvimento da Web do ASP.NET Dino Esposito luminária. ASP.NET MVC força os desenvolvedores a pensar em termos de diferentes componentes do modelo, vista, controlador, que tornam mais fácil gerenciar a complexidade da aplicação. Mergulhe na mecânica interna do quadro e ganhar uma prática, o [ Read More ]

posted on Wednesday, January 12, 2011 11:20:41 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Ensine-se os fundamentos do desenvolvimento Web com ASP.NET etapa 4-um de cada vez. Com passo a passo, você recebe a orientação e aprender-fazendo exemplos que você precisa para começar a construir aplicações e serviços da Web no Microsoft Visual Studio ® 2010 ambiente. O autor, considerado altamente especialista em programação, escritor e instrutor, ilumina os [ Read More ]

posted on Wednesday, January 12, 2011 11:19:22 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, December 04, 2010
Net Experts, Denis Petri. Denis Petri said: RT @yanborowski: http://bit.ly/dz29eN - [Novo Post] CRUD básico com ASP.NET MVC 2 e #EF4 ...
www.webers.blog.br/crud-ef4-aspnet-mvc-2
posted on Saturday, December 04, 2010 10:09:39 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
Os conceitos básicos relacionados com a tecnologia ASP .NET MVC já foram tratados nos artigos : Padrões de Projeto - O modelo MVC - Model View Controller ...
www.macoratti.net/10/07/asp_mvc1.htm
posted on Saturday, December 04, 2010 10:08:13 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Wednesday, September 22, 2010
Vamos criar um site em ASP.NET utilizando o Visual Studio 2010 Para isto veja o modelo do site um miniblog que nominamos miniTwitter com acesso a banco em Acess, menus com sitemap, menus com xml, e contorle de login e paginas administrativas. Pode utilizar controles de login do próprio .net.

microTwitter.doc (24,5 KB)MicroTwitter.ppt ( KB)banco.mdb (268 KB)
posted on Wednesday, September 22, 2010 12:32:55 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, August 22, 2009

This article explains how to code technical analysis indicators on the .NET platform using the C# language.

More: http://www.codeproject.com/KB/cs/Technical_Indicators.aspx

posted on Saturday, August 22, 2009 1:04:50 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, June 20, 2009

The IIS Search Engine Optimization (SEO) Toolkit helps Web developers, hosting providers, and Web server administrators to improve their Web site's relevance in search results by recommending how to make the site content more search engine-friendly. The IIS SEO Toolkit includes the Site Analysis module, the Robots Exclusion module, and the Sitemaps and Site Indexes module, which let you perform detailed analysis and offer recommendations and editing tools for managing your Robots and Sitemaps files.


More: http://www.iis.net/extensions/SEOToolkit


posted on Saturday, June 20, 2009 8:22:24 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, June 06, 2009

By Nishant Sivakumar

Using nested repeaters in ASP.NET with an XML data store

I've never really been much of a web-developer and never thought I'd find web-development all that interesting. But I must say I've been quite fascinated by what little ASP.NET I've done up till now, which is not a lot to be honest. One control I found particularly useful was the Repeater control, but I struggled a little when I tried to implement nested repeaters using an XML file as the data store. Eventually, the solution turned out to be embarrassingly easy, and I thought I'd write a little article for other first-timers who might encounter the same annoying situation I did.

http://www.codeproject.com/KB/aspnet/AspNetNestedRepeaters.aspx

posted on Saturday, June 06, 2009 1:39:18 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Saturday, May 02, 2009

NULL value can be dangerous

NULL can be produce weird results and sometimes it is hard to diagnose the root cause. So to avoid such a problem like this you need to remember few things before you write a query. There are several ways to overcome this solution here I will discuss only

http://wiki.asp.net/

posted on Saturday, May 02, 2009 1:54:55 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Page Execution Lifecycle

Here are the sequence of events that are raised whenever you request an ASP.NET page. PreInit Init InitComplete PreLoad Load LoadComplete PreRender PreRenderComplete SaveStateComplete Unload

http://wiki.asp.net/

posted on Saturday, May 02, 2009 1:53:23 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Friday, May 01, 2009

MVC is a design pattern that stands for Model-View-Controller. If you have an existing ASP.Net web forms application and you want to use ASP.Net MVC framework, you can start by creating a new view engine. In this screencast i will show you how to create such an hybrid application.
download the sample code from - http://cid-0666e397c5ca74dd.skydrive.live.com/self.aspx/Screencast/ASPMVCWebForms.zip

Assita em: http://channel9.msdn.com/posts/ashishjaiman/ASPNET-MVC-WebForms-Hybrid-application/

posted on Friday, May 01, 2009 2:02:46 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Friday, January 09, 2009

Editor WYSIWYG

cont_freeditor.jpg

FreeRichTextEditor é um editor javascript para websites, que pode ser facilmente implementado em qualquer gerenciador de conteúdo ou aplicação web sem grandes conhecimentos de programação. Apenas 3 linhas de código são necessárias para configurar seu editor.

A interface do editor é baseada no Word, e pode ser utilizada sem um help muito extenso. Você pode utiliza-lo gratuitamente, somente sendo necessário manter os copyrights intactos.

posted on Friday, January 09, 2009 4:59:13 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Tuesday, December 30, 2008

Expression Web - Quick Start

Site para dar seus primeiros passos com o Expression Web da Microsoft.

http://expression.microsoft.com/pt-br/library/cc375018(en-us).aspx

posted on Tuesday, December 30, 2008 7:50:19 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Thursday, October 16, 2008

A series of new or updated API's that developers can use for building web applications are available from the Windows Live Dev site. The new services and API's are listed below. Go to Dave Treadwell's post to read about them in more detail.

Read more in http://blogs.msdn.com/charlie/archive/2008/02/28/new-and-updated-live-api-s-for-web-developers.aspx

posted on Thursday, October 16, 2008 2:44:19 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

The Snippet Designer is a plugin which enhances the Visual Studio IDE to allow a richer and more productive code snippet experience.

  1. What do I need to use this?
  2. What can the Snippet Designer do?
  3. How to build the code?
  4. How can I contribute to this project?


Read more in http://www.codeplex.com/SnippetDesigner

posted on Thursday, October 16, 2008 2:40:07 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Wednesday, October 15, 2008

Compatibilidade de aplicativos

Descubra se seus aplicativos existentes serão compatíveis com seu novo sistema operacional Windows. O Kit de Ferramentas de Compatibilidade de Aplicativos Microsoft e outros recursos de compatibilidade de aplicativos foram criados para ajudar a minimizar os riscos associados com implantações de sistemas operacionais Windows.

http://technet.microsoft.com/pt-br/desktopdeployment/bb414773.aspx

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

posted on Wednesday, October 15, 2008 7:17:58 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Monday, February 25, 2008

DropDownList Dependencies Using Client Callbacks

In the last article Client Callbacks in ASP.NET 2.0 I introduced the concept of remote scripting in ASP.NET 2.0. This article takes one step further and set up a real world problem and solves that problem by using Client Callbacks. This article focus on DropDownList dependencies.

Powered by Zoundry

posted on Monday, February 25, 2008 3:57:44 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Wednesday, February 13, 2008

Começando o projeto da loja virtual onshop


Estou dando inicio a um novo projeto e nova versão totalmente remodelada da loja virtual OnShop.

Será desenvolvida em ASP.NET

Para bancos MSSQL Express, SQL Server 2000 e 2005, Access e MySql.

Terá três master pages,
- pagina principal
- pagina detalhes de produtos
- pagina de administração


O modelo de banco será feito com ferramentas UML
Geraçao de código com CodeSmith, IronSpeed, MyGeneration e Enterprise Architecht.

Ainda não decidi o uso de patterns.

Se voce tem alguma sugestão por favor envie para contribuir com este projeto.


Powered by Zoundry

posted on Wednesday, February 13, 2008 1:50:40 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Monday, February 11, 2008
Extending the DropDownList to Support Enums

In this article, Steve demonstrates how to bind a DropDownList to an Enum type, and then goes on to create a generic EnumDropDownList control which will automatically display any enum type"s contents.

posted on Monday, February 11, 2008 12:21:21 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
Extending the DropDownList to Support Enums

In this article, Steve demonstrates how to bind a DropDownList to an Enum type, and then goes on to create a generic EnumDropDownList control which will automatically display any enum type"s contents.

posted on Monday, February 11, 2008 12:21:11 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Thursday, February 07, 2008

Extending the DropDownList to Support Enums

In this article, Steve demonstrates how to bind a DropDownList to an Enum type, and then goes on to create a generic EnumDropDownList control which will automatically display any enum type"s contents.

posted on Thursday, February 07, 2008 12:25:40 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Wednesday, February 06, 2008

Create A Data Access Layer (DAL) Without Writing Any Code

We will be using the Repository Factory Package from the Microsoft Patterns & Practices Team to create our data access layer. The Repository Factory is a CodePlex project that integrates with Visual Studio and it can be used to generate all our business objects, stored procedures and data access code.

posted on Wednesday, February 06, 2008 12:49:42 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Basic of GDI+ and Graphics in ASP.NET

In this article, I will explain about GDI+ in .NET Framework. If you haven"t heard about GDI+, then GDI+ is a set of classes in .NET framework that deal with graphics. You can use GDI+ to draw custom drawing on the screen. GDI provides a layer of abstraction, hiding the differences between different video cards.

posted on Wednesday, February 06, 2008 12:46:27 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Explore Ways to Extend ASP.NET AJAX Client-Side Function

In this article the author examines the typical ways to extend the ASP.NET AJAX framework from the client side.

posted on Wednesday, February 06, 2008 12:45:29 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Tuesday, February 05, 2008

Getting Started with Test Driven Development

Few days ago I started a poll on www.KoffeeKoder.com where I asked which tool do you use for testing your applications. Surprisingly, most of the people are not using any tool for testing. This means that there are more and more applications being developed which are destined to be failed. In this article I will talk about test driven development hoping that more and more developers start using TDD and see how it benefits the application.

posted on Tuesday, February 05, 2008 1:18:10 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Creating an Online Exam Using LINQ to Classes Part 1

In this article I will use LINQ to Classes to create an online exam. This is a multi-series article and in this part I will discuss the architecture and the design of the application.

posted on Tuesday, February 05, 2008 1:05:22 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Creating Multiple Choice Exam Application Part I

This is the first part of a multi-part series. In this series we will cover the scenario of creating a multiple choice exam for the user. In the first part it will cover the design of the application. This will include unit tests, domain objects and NHibernate mapping files.

posted on Tuesday, February 05, 2008 1:03:37 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Going Mouseless - Implementing Keyboard Shortcuts in ASP.NET 2.0 Using Javascript

Keyboard shortcuts improve productivity by accomplishing tasks more quickly and without much effort. In this article, we will explore how to implement keyboard shortcuts in our ASP.NET applications.

posted on Tuesday, February 05, 2008 1:01:48 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

How to Create an HTML Editor for ASP.NET AJAX

This article discusses how to create an HTML Editor server control for use within an ASP.NET AJAX 1.0 environment.

posted on Tuesday, February 05, 2008 1:00:58 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Themes in ASP.NET 2.0

Explains how to define the look and feel of a web site by using ASP.NET themes.

posted on Tuesday, February 05, 2008 12:59:27 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Client Callback in a Website Registration Page

Here we are explaining the mechanism and nature of the client callback, then we are giving you an example. The example can be used in a user registration page to check the username availability without a postback.

posted on Tuesday, February 05, 2008 4:18:44 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Understanding Single Sign-On in ASP.NET 2.0

In this article, Masoud discusses the concept of Cross Application Authentication using ASP.NET authentication model consisting of Membership Providers, web.config configuration, encryption, and decryption of configuration files. At the end of the article he also examines the application of the concept using ASP.NET login controls.

posted on Tuesday, February 05, 2008 4:17:54 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Ajax Control Toolkit - Part One

A multipart series on the Ajax Control Toolkit. This introductory part explores a few basic input helpers.

posted on Tuesday, February 05, 2008 4:15:51 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

A First Look at ASP.NET Extensions 3.5-History Points

In this article, though, I"ll focus on yet another feature of ASP.NET Extensions 3.5 - the native support for history points and back/forward browser navigation.

posted on Tuesday, February 05, 2008 4:14:29 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

.NET CodeToHTML

This article shows you how to convert source code to HTML.


posted on Tuesday, February 05, 2008 4:10:57 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Search Engine-Friendly Custom Paging with the GridView and LINQ to SQL

The main problem I have with the built-in paging offered by the GridView control is that the default Javascript paging links are invisible to search engines. This means that large portions of your content might not be indexed. This article show how to use the new LINQ to SQL functionality available in VS2008 to easily create HTML links that search engines can follow.

posted on Tuesday, February 05, 2008 4:08:09 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Using ASP.NET 3.5"s ListView and DataPager Controls: Grouping Data with the ListView Control

In this article we will see how to use the GroupTemplate and GroupItemCount properties to instruct the ListView control to render different encasing markup for every n records. We will look at two demos: one that renders records into a series of ordered lists, and another that illustrates how to display data in a multi-column table. Read on to learn more!

posted on Tuesday, February 05, 2008 4:05:09 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Using NHibernate as an ORM Solution for .NET

In this article, David will discuss ORM concepts and NHibernate"s implementation of them. Also he will walk you through several examples of NHibernate in use.

posted on Tuesday, February 05, 2008 4:04:19 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Working with Dynamic Populate Extender

This article examines the setup and usage of the Dynamic Populate Extender control from the AJAX Control Toolkit. Code Snippets and an example download are included.

posted on Tuesday, February 05, 2008 4:03:42 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

The 30 Minute Regex Tutorial

Did you ever wonder what Regular Expressions are all about and want to gain a basic understanding quickly? My goal is to get you up and running with a basic understanding of regular expressions within 30 minutes. The reality is that regular expressions aren"t as complex as they look. The best way to learn is to start writing and experimenting. After your first half hour, you should know a few of the basic constructs and be able to design and use regular expressions in your programs or web pages. For those of you who get hooked, there are many excellent resources available to further your education.

posted on Tuesday, February 05, 2008 4:02:54 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
 Sunday, March 26, 2006
Dmitry just posted an updated version of his RSS Toolkit for ASP.NET. You can download his updated version here. I highly recommend checking it out if you haven't yet already (my tutorial here is useful to get an overview of it). Scott
posted on Sunday, March 26, 2006 2:20:49 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Free ASP.NET 2.0 Using Visual Studio 2005 Training CD Free ASP.NET 2.0 Using Visual Studio 2005 Training CD
Get ready for Visual Studio 2005 with AppDev's training for SQL Server, Visual Basic, C#, ASP.NET, and more. Each CD includes three hours of training.

http://www.appdev.com/promo.asp?page=sn00027

posted on Sunday, March 26, 2006 2:19:47 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
Page rendered at Monday, February 06, 2012 4:27:22 AM (GMT Standard Time, UTC+00:00)