Showing posts with label .NET Framework. Show all posts
Showing posts with label .NET Framework. Show all posts

Wednesday, April 17, 2013

Integrate Tumblr into C#.NET Website - CodeProject

sid05.tumblr.com
sid05.tumblr.com (Photo credit: Sid05)
Here is an article on how to integrate Tumblr into a website.  Great stuff!

Integrate Tumblr into C#.NET Website - CodeProject
Enhanced by Zemanta

Thursday, April 11, 2013

registry - Returning value from HKCR using Powershell - Stack Overflow

English: Screenshot of Windows PowerShell 1.0 ...
English: Screenshot of Windows PowerShell 1.0 Deutsch: Screenshot von Windows PowerShell 1.0 فارسی: عکس صفحه‌ی نمایش از ویندوز پاورشل نسخه‌ی 1.0 Русский: Сессия в Windows PowerShell (Photo credit: Wikipedia)
Use PowerShell to read the HKCR  registries inWindows.

registry - Returning value from HKCR using Powershell - Stack Overflow
Enhanced by Zemanta

Monday, March 25, 2013

WCF: From a Beginner's perspective & a Tutorial - CodeProject

Architecture of WPF
Architecture of WPF (Photo credit: Wikipedia)
 From the Intro to the article:

Well, WCF stands for Windows Communication Foundation, it was first shipped with .NET 3.0 framework along with WPF, Windows CardSpace and WorkFlow Foundation.
From a beginner's perspective, what does actually WCF mean? Let's break the abbreviation into single entities and try to debug. It consists of 3 words, a)Windows b)Communication c)Foundation.
A beginner would glance at the words and would think, well it is something which deals with Windows platform, which is used to communicate and connect applications. Hmm, well he/she ain't wrong on the first strike...
A definition which comes to mind may be summed up as: WCF is a kind of technology, which is used to develop and deploy services on Windows platform. Different books have different set of words to describe WCF, but the gist is almost the same which points to development and deployment of services on Windows Platform.
MSDN says, WCF is a framework to build service-oriented applications. So basically WCF revolves around developing applications which are greatly dependent upon services.

WCF: From a Beginner's perspective & a Tutorial - CodeProject
Enhanced by Zemanta

Tuesday, January 29, 2013

A Smart Card Framework for .NET - CodeProject

English: CP8 smart card (recto) - first commer...
English: CP8 smart card (recto) - first commercially available smart card (Photo credit: Wikipedia)
Need a framework to write applications in .NET for manipulating a smart card? Yeah, me too. This article will help


A Smart Card Framework for .NET - CodeProject
Enhanced by Zemanta

Monday, November 5, 2012

Elevated In Browser Trust in Silverlight 5

Microsoft SilverLight
Microsoft SilverLight (Photo credit: denetsnuff)
Here are two articles that give important information about using elevated trust in Silverlight 5.

c# - vb.net - asp.net discussion forum - External Source

How to: Enable Trusted Applications to Run Inside the Browser
Enhanced by Zemanta

Mister Goodcat | Silverlight 5 Tidbits–Trusted applications

Image representing Microsoft Silverlight as de...
Image via CrunchBase
Here is a good article about how to make and deploy a Silverlight 5 program so that it can work as an in-browser trusted application.

Mister Goodcat | Silverlight 5 Tidbits–Trusted applications
Enhanced by Zemanta

Wednesday, October 17, 2012

Easily zip / unzip files using Windows Shell32 - CodeProject

Image representing Windows as depicted in Crun...
Image via CrunchBase
 Introduction to article
If you want to zip / unzip files without using third party libraries, and you want a method that can be used easily and works fine, you can use the Windows Shell32. I've written the code in VB 2010 using .NET Framework 2.0, but it's simple and can be easily converted to any other language like C#.

Easily zip / unzip files using Windows Shell32 - CodeProject
Enhanced by Zemanta

Tuesday, April 10, 2012

Securing WCF - CodeProject®

Introduction to Article

Securing a WCF service is quite easy but several methods with different fields of applications exist. This post describes the different available securing mechanisms and how they are set up.
Securing your network service is important because if a service is not secured, every peer on your communication way can read your communication.
Basically two different approaches of securing a service exist:


Securing WCF - CodeProject®
Enhanced by Zemanta

Tuesday, April 3, 2012

10 powerful debugging tricks with Visual Studio - CodeProject®

The Microsoft Visual Studio .NET logo.
The Microsoft Visual Studio .NET logo. (Photo credit: Wikipedia)
Introduction to article

Debugging is a major part of the development lifecycle. Sometimes challenging, sometimes puzzling, sometimes annoying, one for sure - it is unavoidable for any not-so-trivial program. The progress of debugging tools over the last years has made many debugging tasks much easier and less time-consuming.
This article summarizes 10 debugging tricks and techniques that can save you a lof of time when using Visual Studio.

10 powerful debugging tricks with Visual Studio - CodeProject®
Enhanced by Zemanta

Monday, April 2, 2012

WCF and Android Part I - CodeProject®

Image representing Android as depicted in Crun...
Image via CrunchBase
 Given that I want to get into more Android programming, of course I wanna know how to get Android to consume web services.
The Windows Communication Foundation (WCF) provides a very flexible way of exposing network interfaces to other applications. This article describes how to create a REST WCF-Webservice which can be consumed on android devices.

WCF and Android Part I - CodeProject®
Enhanced by Zemanta

Tuesday, December 27, 2011

Introduction to MonoDroid/Android Programming for .NET/C# Developers - CodeProject®

Introduction to Article

Android development is predominantly with the Java Language based on the Java VM "Dalvik" using the Eclipse IDE. If a developer or company has already made a significant investment in .NET, the time to learn Java and the Android Mobile Platform is significant. An attendee of this session will be able to take their existing knowledge of .NET/C# and Visual studio and immediately apply this to writing apps for the Android Mobile Platform. The significance of this should not be understated. Learning a new language, no matter how similar to .NET/C#, results in a significant learning curve as well as a significant time investment. Add in the time required to learn Eclipse, and there is even more time required. With this session, you will learn how to develop Android Applications using Visual Studio and the Novell


Introduction to MonoDroid/Android Programming for .NET/C# Developers - CodeProject®
Enhanced by Zemanta

Monday, December 5, 2011

Customizable Drag-drop ToolStrip - CodeProject

Add a drag/drop customizable toolStrip to your .net project, similar to that found in Firefox.


Customizable Drag-drop ToolStrip - CodeProject
Enhanced by Zemanta

Wednesday, November 30, 2011

Silverlight: A Beginner's Guide for Advanced Developers - CodeProject

Image representing Microsoft Silverlight as de...
Image via CrunchBase
Introduction to article about a book

IN THIS CHAPTER
This book is about Silverlight solutions. In this chapter we go behind the scenes and see what is meant by Silverlight plug-ins, what the components of Silverlight application are, and the role of the .NET Framework is.
Silverlight is ideally suited for the following kind of applications:
  • Advanced Graphics and Animations
  • Data Visualization with AJAX technology
  • Rich Interactive games, Web gadgets, and Ad Banners
  • Advanced Media Applications
This chapter is meant to give you a quick overview, and set a foundation for rest of the chapters. Let's begin.



Silverlight: A Beginner's Guide for Advanced Developers - CodeProject
Enhanced by Zemanta

Delegates in C# - CodeProject

English: Logo for C Sharp (programming language)
Image via Wikipedia
Introduction to Article

Let’s play around with the main interrelated concepts of delegates in C#.
Today, in this article, we will dig out and play around by creating a simple delegate program and let’s see how better we can perform in this single program only. I mean, in this program, I will cover all stuff required for delegates from all the possible ways. So I will be covering simple delegate creation, multi-cast delegate, use of named methods, use of anonymous methods, use of lambda expression and finally a much better implementation about all of these and generic delegates as well.


Delegates in C# - CodeProject
Enhanced by Zemanta

Thursday, October 27, 2011

Using Silverlight Pie Charts in Visual Studio LightSwitch - CodeProject

Introduction to Article

Often you need to provide a visual representation of your data and it is not unusual to present information via charts. This is a very common business requirement. In Visual Studio LightSwitch there is not a built-in control to display charts, but you can easily take advantage of extensibility and use chart controls from the free Silverlight Toolkit, available on CodePlex. In this article you learn how to extend LightSwitch applications with custom Silverlight controls that embed Pie Chart controls and that are data-bound to screen collections.


Using Silverlight Pie Charts in Visual Studio LightSwitch - CodeProject
Enhanced by Zemanta

Sunday, October 2, 2011

Google Charts in ASP.NET - CodeProject

Image representing Google as depicted in Crunc...Image via CrunchBaseIntroduction to the article

Through this article, I'll try to explain how we can use Google charts for reporting purposes in ASP.NET web applications. Report generation is something quite common and we need to generate self explanatory and good looking reports to the users almost every time. “Images always speak more than words”. So instead of just showing the figures in our reports, we can let the users see diagrammatic charts which can help the users to analyze the whole data more quickly and easily. Though Microsoft itself has its charting controls for .NET, but we integrate it with other great technology by Google.
Google has its own, very awesome and simple application for charting purposes which we will be using here.

Google Charts in ASP.NET - CodeProject
Enhanced by Zemanta

Tuesday, September 27, 2011

Deploying A Web Service

The Microsoft Visual Studio .NET logo.Image via WikipediaFor the past several months I've been working on a .Net program in Silverlight that employs a web service. IT took some time but I did make it work in Visual Studio 2010. The problem came when I wanted to deploy it to web server. It refused to work. The Silverlight App had the ASP.Net debugging activated and my webservice didn't so I had to add the following line to just before my web service's class instantiation:

And I had to make sure that the url in the ServiceReference.ClientConfig file and the configuration for the web service match the url for the web service *.svc file on the web server. I found this to be a problem when it came comes to trying to run the projects from inside Visual Studio 2010, I have to switch the url to match the local server. I also found out that I had to change the code for calling the web service.

Uri address = new Uri(Application.Current.Host.Source, "../YourService.svc"); // this url will work both in dev and after deploy.

var webService = new YourWebService.YourWebServiceClient("YourServiceEndPointName", address.AbsolutePath);
You can read the links I used to come up with this:



Deployment of Silverlight App + Silverlight-Enabled WCF Service to Production

Deploying Silverlight with WCF Services
Enhanced by Zemanta

Monday, September 19, 2011

XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application - CodeProject

Introduction to Article


This article describes the development of XAML Finance, a cross-platform application which works on the desktop, using Windows Presentation Foundation (WPF), on the web, using Silverlight and on Windows Phone 7 (WP7). My aim in writing this article is to highlight how the XAML based technologies used for desktop, web and mobile allow you to share large quantities of code and cost-effectively distribute your application on a range of devices.



XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application - CodeProject
Enhanced by Zemanta