View Complete Post
Leasing and sponsorship is the solution for managing the lifecycle of a remote object in .NET. Each object has a lease that prevents the local garbage collector from destroying it, and most distributed applications rely upon leasing. There are several ways in which objects and clients can extend the lease, including dedicated sponsor objects. In this article, the author explains leasing, shows how to configure it, and how it relates to the various remoting activation models. He then discusses design guidelines and options, along with their impact on throughput and performance. Additionally, he introduces a helper class used to automate the management of lease sponsors.
MSDN Magazine December 2003
Hello All,I have created "DotNetNuke SQL Database Application" from the WebMatrix Gallery.
Now I want to deploy it on the remote server using Web Deploy method.
Without selecting SQL database, application is deployed successfully but when I select SQL database it gives following error:
Publish : Error - Make sure the database connection string for the server is correct and that you have appropriate permission to access the database. (Web Deploy provider is dbFullSql).
Can anyone have the solution of this error?
Thanks in advance....
In the <SafeControls> section of the Web.config file, add the following line under the other SafeControl Assembly entries (as a single line):
i have implementing one Windows application in that i need to get the Forex market quotes values form perticulat server how can i implement this i have some Php Code but i need to in C# application.
This is my Php code to receive the quotes form server;
define('T_HOST','184.108.40.206'); // MetaTrader Server Address
define('T_PORT',443); // MetaTrader Server Port
define('T_TIMEOUT',1); // MetaTrader Server Connection Timeout, in sec
define('T_QUOTES','GBPUSD,EURUSD,AUDUSD,NZDUSD,USDCHF,USDJPY,USDCAD,GBPJPY,GBPCHF,EURGBP,EURCHF,EURJPY,EURAUD,EURNZD,EURCAD,CHFJPY,CADJPY,CADCHF,AUDJPY,NZDJPY,'); // symbols list for publication
define('T_CACHEDIR','cache/'); // cache files directory
define('T_CACHETIME',1); // cache expiration time, in sec
define('T_CLEAR_DELNUMBER',1); // limit of deleted files, after which process of cache clearing should be stopped
$MQ_CLEAR_STARTTIME = 0; // time
$MQ_CLEAR_NUMBER = 0; // deleted files counter
// query quotes and parse result
$q = "QUOTES-".T_QUOTES;
$qRes = MQ_Query($q);
I have a web application. This application collects some information from the user and the details needs to be passed to a .EXE. It processes the parameters and gives the output as a text file.
The .EXE is hosted in another server (Application Server). I need to call the .EXE with the a set of parameters from the Web Server. Is there any way to call this .EXE through an web service? If yes how to call the .EXE with parameters within the web service?
I have an application written in C# that has a feature that when ran locally starts a second application with command line arguments. When my application is ran on a Terminal Server in a remote desktop session, it needs to start
the second application on the user's local PC. I started looking into opening up Virtual Chanel on the server and creating the Virtual Chanel DLL on the client to read any incoming data and start the application but it seems very complicated to do in
c# and overkill for something so simple. I was wondering if anyone had an easier way for me to do this.
Thanks for your help,
Im trying to deploy a web application project (VS 2010) via team build (TFS 2010), i got to use IIS settings of development server for deployment. So from the project properties I configured the web projects to use Custom web server, (enabled radio button), once i do this the Option in the tab Package/Publish Web "Include all IIS Settings as configured in IIS manager" gets disabled and as a result the deployed web project does not have this IIS settings.
What am I missing here, Im not using the option "Use local IIS Web Server" because the build happens in a build server and would try to take local IIS settings for packaging which is not present.
If this is not possible, suggest me any workaround. Any help on this is greatly appreciated.
John Charles Olamendy
MSDN Magazine September 2009
SQL Server 2005 gathers a lot of useful data that you can use to identify areas where database performance can be improved. Here's what you need to improve performance.
MSDN Magazine January 2008
SQL Server Management Objects offer developers a robust toolset for backing up and restoring databases, and issuing DDL commands, as John Papa explains.
MSDN Magazine June 2007
In this column see how to bind a custom list of business entities using the binding tools in the .NET Framework 2.0.
MSDN Magazine February 2007
SQL Server 2000 Reporting Services--a server-based reporting platform built on the .NET Framework and integrated with SQL Server 2000--lets you easily add reporting from diverse data sources. Using Visual Studio and Reporting Services you can integrate reports from any data source that has an OLE DB, ODBC, or ADO.NET provider into your Web applications. This article explains how it's done.
John C. Hancock
MSDN Magazine August 2004
The beta version of Internet Security and Acceleration (ISA) Server 2004 is now publicly available. It includes a rich SDK with several extensibility mechanisms that allow third parties to integrate their specialized solutions on top of the ISA platform. In this article, the author explores the application filter extensibility mechanism, which enables you to add high-level application layer filtering capabilities to ISA Server and to provide rich content filtering solutions. He also highlights the new features of the ISA Server 2004 SDK, then moves on to describe how to develop a basic application filter that monitors all data going through the ISA Server, and how to integrate a filter into the ISA Server management console to create a seamless interface experience for your users.
MSDN Magazine March 2004
Exception handling semantics in .NET are based on type, so you can create custom exceptions that have their own properties and methods. In .NET, exceptions are first-class citizens, and since they're the built-in error handling mechanism, all .NET-compliant languages must support exceptions. In addition, COM+ services are available to .NET code as Enterprise Services, so you can leverage exceptions in your Enterprise Services design.In this article the author describes custom exceptions, throwing exceptions across COM interop boundaries, and working with Enterprise Services.
MSDN Magazine July 2003