iAwaaz-News-by-People - Stories tagged with c#
1
Awaaz

List(T).ForEach or foreach, it doesn't matter...or does it?

published 78 days, 16 hours, 50 minutes ago posted by attitudeattitude 80 days, 15 hours, 36 minutes ago
Sunday, June 20, 2010 2:46:27 AM GMT Friday, June 18, 2010 4:00:13 AM GMT
When you use a List, it doesn't matter if you use the ForEach method of the generic list or use a normal foreach or does it? Sometimes it makes a difference! (more)
category: Technology | clicked: 0 | comment | | source: www.dotnetfunda.com
tags: c#
1
Awaaz

How to create datatable programmatically from a string using C#?

posted by RaviRavi 80 days, 16 hours, 7 minutes ago
Friday, June 18, 2010 3:28:49 AM GMT
In this article explain you how to create datatable programmatically from a string using C#. (more)
category: Technology | clicked: 0 | comment | | source: www.dotnetfunda.com
tags: c#
1
Awaaz

What is LINQ to Events a.k.a RX Framework?

published 78 days, 16 hours, 50 minutes ago posted by amit_it7amit_it7 80 days, 16 hours, 7 minutes ago
Sunday, June 20, 2010 2:46:27 AM GMT Friday, June 18, 2010 3:28:46 AM GMT
I received a mail some time back, asking me to ?clarify in simple words the concept of LINQ to Events?. This is a quick post on LINQ to Events a.k.a the RX Framework, and the objective of this post is to high light some of my previous posts on the same topic. NET Rx team (this is not an official name) found that any push sequence (events, callbacks) can be viewed as a pull sequence (as we normally do while accessing enumerables) as well ? or they are Dual in nature. In short observer/observable pattern... (more)
category: Technology | clicked: 0 | comment | | source: amazedsaint.blogspot.com
tags: .net, c#, Reactive, System.Reactive
1
Awaaz

Start Learning Ruby with IronRuby ? Setting up the Environment - Kazi Manzur Rashid

published 78 days, 1 hour, 12 minutes ago posted by attitudeattitude 80 days, 16 hours, 18 minutes ago
Sunday, June 20, 2010 6:23:49 PM GMT Friday, June 18, 2010 3:18:09 AM GMT
Recently I have decided to learn Ruby and for last few days I am playing with IronRuby. Learning a new thing is always been a fun and when it comes to adorable language like Ruby it becomes more entertaining.Like any other language, first we have to create the development environment. In order to run IronRuby we have to download... (more)
category: Technology | clicked: 1 | comment | | source: weblogs.asp.net
tags: c#, IronRuby, Ruby
1
Awaaz

Creating a custom View Engine for ASP.NET MVC leveraging Text Templates (T4)

published 84 days, 1 hour, 1 minute ago posted by nancynancy 85 days, 22 hours, 56 minutes ago
Monday, June 14, 2010 6:34:58 PM GMT Saturday, June 12, 2010 8:40:28 PM GMT
This post is about creating a custom View Engine for ASP.NET MVC, leveraging the Text Template (T4) infrastructure already out there, and this is largely experimental :). This is in fact a spin off idea of some thing else I was doing :). [ ] Download Related Source Code For me, the most beautiful aspect of ASP.NET MVC is it?s extensibility ? they way you can ?stretch? the framework, to make it suitable for your own needs. I highly recommend you to read this article from Code Climber?s blog - 13 ASP.NET... (more)
category: Technology | clicked: 0 | comment | | source: amazedsaint.blogspot.com
tags: ASP.NET MVC, c#, MVC
1
Awaaz

MSDN Magazine: Cutting Edge - C# 4.0, the Dynamic Keyword and COM

published 84 days, 1 hour, 1 minute ago posted by nancynancy 85 days, 22 hours, 56 minutes ago
Monday, June 14, 2010 6:34:58 PM GMT Saturday, June 12, 2010 8:40:16 PM GMT
Are you a Microsoft .NET Framework programmer who struggles with critical legacy applications using COM objects that are beyond your control? Dino Esposito shows how to lessen the burden by going dynamic. (more)
category: Technology | clicked: 0 | comment | | source: msdn.microsoft.com
tags: c#, CSharp, dynamic, MSDN, MSDN Magazine
1
Awaaz

Dean Hume - MVC Google Maps HtmlHelper - Dynamic Maps

published 117 days, 16 hours ago posted by nancynancy 121 days, 1 hour, 47 minutes ago
Wednesday, May 12, 2010 3:36:09 AM GMT Saturday, May 08, 2010 5:49:00 PM GMT
MVC Google Maps HtmlHelper - Dynamic Maps I've recently been looking for a MVC helper class for Google maps. I came across this well written MVC HtmlHelper for static Google maps. Unfortunately I was looking for a helper that was for the dynamic version of Google charts. I needed to be able to add markers on the maps with dynamic text and possibly even images. So, a great way to re-use code in MVC 2 is the Htmlhelper class. I have also written about this before where I wrote a Google Charts H... (more)
category: Technology | clicked: 0 | comment | | source: www.deanhume.com
tags: c#, Google, Google maps, google maps api, HtmlHelper, MVC, MVC2
1
Awaaz

Auto Implemented Properties in .NET

posted by nancynancy 126 days, 18 hours, 12 minutes ago
Monday, May 03, 2010 1:23:36 AM GMT
If we want to create a class with a bunch of public properties , we generally do it by storing the value of the properties in private field. Eg : Class Student { private int id; public int ID { get { return id; } set { id=value; } } } If this is all we ... (more)
category: Technology | clicked: 0 | comment | | source: www.ginktage.com
tags: c#, Microsoft
1
Awaaz

AOP With Unity 2.0 - 3

published 122 days, 13 hours, 27 minutes ago posted by attitudeattitude 126 days, 18 hours, 14 minutes ago
Friday, May 07, 2010 6:09:08 AM GMT Monday, May 03, 2010 1:22:15 AM GMT
In the first post i showed a framework for Aspect-Oriented Programming ( AOP ) using only a proxy generator and a Unity 2.0. In this post i want to show the advances of the framework. Injection in properties. (more)
category: Technology | clicked: 2 | comment | | source: www.machinaaurum.com.br
tags: AOP, c#, IOC, Unity
2
Awaaz

How to fake Optional Parameters in c# 2.0 - Diary of a Ninja...

published 124 days, 13 hours, 50 minutes ago posted by attitudeattitude 126 days, 18 hours, 14 minutes ago
Wednesday, May 05, 2010 5:46:04 AM GMT Monday, May 03, 2010 1:22:08 AM GMT
How to fake Optional Parameters in c# 2.0 With the launch of .Net 4.0 there have been a lot of excitement about some of the new features, Optional parameters being one of these. What a lot of people don?t realised it that with a bit of leg work you can pull this off with c# 2.0 ? so those of you unable to deploy to a machine running .Net 4.0 can still join the party. (more)
category: Technology | clicked: 0 | comment | | source: www.diaryofaninja.com
tags: .Net 4.0, c#, C# 2.0
2
Awaaz

Using SQL CLR Stored Procedure Track IP Address

published 126 days, 18 hours, 11 minutes ago posted by attitudeattitude 132 days, 16 hours, 14 minutes ago
Monday, May 03, 2010 1:25:29 AM GMT Tuesday, April 27, 2010 3:22:21 AM GMT
Recently I was asked by one of my friend how to call a web service directly from a stored procedure. He needs to track IP addresses using a stored procedures so, I suggested him two ways to call a web service using the SQL Procedure.Using SP_OACREATE with MSXML Create an assembly using SQL CLR using C#. I personally tried using the first way to call a web service but was not successful. Then I learnt about SQL CLR programming with Visual Studio and C# and get it done in a first go. As a good friend I c... (more)
category: Technology | clicked: 0 | comment | | source: www.midnightprogrammer.net
tags: c#, Clr procedures, SQL, Stored Procedure
1
Awaaz

A HTTP file server in 130 lines of code

posted by attitudeattitude 141 days, 38 minutes ago
Sunday, April 18, 2010 6:57:37 PM GMT
...of which 20 deal with mapping file extensions to MIME types :) This is a quick code run-down on using the HttpListener to serve directory contens and files with very little code. (more)
category: Technology | clicked: 0 | comment | | source: realfiction.net
tags: .net, c#, HTTP, web
1
Awaaz

Adding Stylesheets, Scripts In ASP.NET MVC2

posted by attitudeattitude 150 days, 21 hours, 23 minutes ago
Thursday, April 08, 2010 10:13:14 PM GMT
A while back I worked on some code that allowed you to add content to different areas of a MVC view, specifically for dealing with headers and scripts. The code worked well enough but relied on a lesser used member in the Reponse class ? the Filter property. Except, now in MVC2 you see this little message when you try to mess with the Filter? Filtering is not allowed? What? Why not?!? Admittedly, the original solution was rather hackish because it tried to perform all of the work in the Render phase... (more)
category: Technology | clicked: 0 | comment | | source: somewebguy.wordpress.com
tags: ASP.NET, ASP.NET MVC, c#, MVC, Page life Cycle
1
Awaaz

WinForm Resize Animation in C#

posted by attitudeattitude 150 days, 21 hours, 23 minutes ago
Thursday, April 08, 2010 10:13:01 PM GMT
Apply concepts of WinForm animation to create a smooth resizing animation effect. (more)
category: Technology | clicked: 0 | comment | | source: www.vcskicks.com
tags: Animation, c#, WinForms
2
Awaaz

Simple C# Synchronous / Asynchronous Email Sender

published 147 days, 15 hours, 34 minutes ago posted by attitudeattitude 150 days, 21 hours, 24 minutes ago
Monday, April 12, 2010 4:01:54 AM GMT Thursday, April 08, 2010 10:11:48 PM GMT
I noticed quite a few search queries coming in for my post on User Control Email Templates so I thought I should post the code I am using to actually send the emails in that example. The class uses the SMTP configuration information in the web.config or app.config of the application. The code is pretty quick and dirty but if you are only sending one off emails it works fine. (more)
category: Technology | clicked: 0 | comment | | source: lukencode.com
tags: c#, Email
2
Awaaz

AutoPoco v0.2 Released

published 149 days, 27 minutes ago posted by attitudeattitude 150 days, 21 hours, 25 minutes ago
Saturday, April 10, 2010 7:09:22 PM GMT Thursday, April 08, 2010 10:11:27 PM GMT
New features added for automatic assembly scanning and generation of collections with random/sequentially modified data (more)
category: Technology | clicked: 0 | comment | | source: codeofrob.com
tags: c#, Object Generation, Testing
1
Awaaz

Web 2.0 | Silverlight Transformations

posted by attitudeattitude 157 days, 22 hours, 23 minutes ago
Thursday, April 01, 2010 9:13:14 PM GMT
Recently I started exploring Silverlight and it has some cool features that i would like to share. In this article i will demonstrate how to specify transformations in Silverlight with TranslateTransform, ScaleTransform, RotateTransform, SkewTransform and MatrixTransform.TranslateTransform: Moves an object by a specified X and Y positions where X represents horizontal position and Y represents vertical position. Here is a sample that will render Ellipse and TextBlock using TranslateTransform. (more)
category: Technology | clicked: 0 | comment | | source: www.fairnet.com
tags: ASP.NET, c#, Silverlight
1
Awaaz

This and that...welcome to the asylum :) : Caching to and Serving Files from WebRole's Local Storage

posted by attitudeattitude 157 days, 22 hours, 23 minutes ago
Thursday, April 01, 2010 9:13:05 PM GMT
Example and suggested design to strike an optimal balance in deployment flexibility, performance, and cost by using Azure Compute Local Storage and Azure Blob Storage. (more)
category: Technology | clicked: 0 | comment | | source: blogs.msdn.com
tags: Azure Blob Storage, c#, Cloud Architecture
1
Awaaz

Fabulous Adventures In Coding : Putting a base in the middle - Eric Lippert

published 157 days, 9 hours, 30 minutes ago posted by attitudeattitude 157 days, 22 hours, 24 minutes ago
Friday, April 02, 2010 10:06:09 AM GMT Thursday, April 01, 2010 9:11:44 PM GMT
I have rewritten this article based on new information I?ve just learned. I should have looked at the design notes archive first! Here?s a crazy-seeming but honest-to-goodness real customer scenario that got reported to me recently. There are three DLLs involved, Alpha.DLL, Bravo.DLL and Charlie.DLL. The classes in each are: public class Alpha // In Alpha.DLL { (more)
category: Technology | clicked: 0 | comment | | source: blogs.msdn.com
tags: Brittle Base Classes, c#, Language Design
1
Awaaz

C-sharp display date time with milli seconds

published 157 days, 9 hours, 30 minutes ago posted by attitudeattitude 157 days, 22 hours, 25 minutes ago
Friday, April 02, 2010 10:06:09 AM GMT Thursday, April 01, 2010 9:11:29 PM GMT
By default, in c# DateTime object will display the values in the 12 hours format with AM and PM. Which don't include the milliseconds. But how to display the date and time with milliseconds? Use the below format to display it. DateTimeObject.ToString( (more)
category: Technology | clicked: 0 | comment | | source: praveenbattula.blogspot.com
tags: c#, DateTime
1
Awaaz

DeepFriedBytes - Episode 50: Behind the Scenes of the .NET Languages with Luca Bolognese

published 157 days, 9 hours, 30 minutes ago posted by attitudeattitude 157 days, 22 hours, 25 minutes ago
Friday, April 02, 2010 10:06:09 AM GMT Thursday, April 01, 2010 9:10:56 PM GMT
About This Episode Ever wonder how your favorite features from C#, VB.NET and F# get selected, implemented and finally reach your fingers? We did too and we found a great person to get the behind the scenes story from Building 41 in Redmond. In this episode, Keith and Woody sat down with Luca Bolognese, former Group Program Manager at Microsoft, to discuss how the languages team decides which features to include in the .NET languages. (more)
category: Technology | clicked: 0 | comment | | source: deepfriedbytes.com
tags: .net, c#, DeepFriedBytes, F#, Microsoft, NET 4.0, VB.NET
1
Awaaz

Daily tech links for .net and related technologies - Mar 26-28, 2010 - Sanjeev Agarwal

posted by attitudeattitude 162 days, 14 hours, 26 minutes ago
Sunday, March 28, 2010 5:09:56 AM GMT
Creating Rich View Components in ASP.NET MVC - manzurrashid, Diagnosing ASP.NET MVC Problems - Brad Wilson, Templated Helpers (more)
category: Technology | clicked: 0 | comment | | source: weblogs.asp.net
tags: Ajax, Architecture, c#, MVC 2, Silverlight, SQL, Web Service
1
Awaaz

Web 2.0 | Putting a Bing Search on your Website

published 164 days, 15 hours, 1 minute ago posted by nancynancy 164 days, 16 hours, 25 minutes ago
Friday, March 26, 2010 4:35:02 AM GMT Friday, March 26, 2010 3:10:49 AM GMT
In this article, i will examined how to integrate Microsoft Bing Search engine on your site. First, you would have to get APPID from Microsoft site. Here is a link. (more)
category: Technology | clicked: 0 | comment | | source: www.fairnet.com
tags: .net, ap.net, c#
1
Awaaz

Programmer's Blog: How to track visitors to your site in ASP.NET

published 163 days, 14 hours ago posted by nancynancy 164 days, 16 hours, 26 minutes ago
Saturday, March 27, 2010 5:36:02 AM GMT Friday, March 26, 2010 3:09:46 AM GMT
Once you have published a site in ASP.NET, you'd like to know who are your visitors. One way is to check your event log on the host server. Another option is to write your own code. You'd basically like to log the IP address, and DNS name for the visitor, and it would be nice to know which page they are visiting. To log the ip address using ASP.NET, you can call: Request.ServerVariables[ (more)
category: Technology | clicked: 0 | comment | | source: visualcppsupport.blogspot.com
tags: ASP.NET, c#
1
Awaaz

WPF - catch events even if they are already handled - Yet another blog about...

posted by nancynancy 166 days, 17 hours, 54 minutes ago
Wednesday, March 24, 2010 1:42:30 AM GMT
As you may actually know WPF introduced the routed events. If you want to stop an event, you can mark it as Handled. If so, the routing engine will stop to propage it. But sometimes you want to catch the events even if marked as handled. (more)
category: Technology | clicked: 0 | comment | | source: blog.lexique-du-net.com
tags: c#, how to, Tips
Previous 1 2 Next