is there any sample how to create an extend web application by code ?
View Complete Post
My Dev Environment is SharePoint 2010 on WIN 7. I have 2 users
1) Built in Administrator- Member of FARM Administrator
2) Dinesh02\Dd – Also member of FARM Administrator
Now when I Sign-in with my account and use Manage Web Application link, on the Top Ribbon none of Button is enabled. I can not create Web APP nor Extend it. When I select web application from list, some button are enabled but not all. Also I can see
role as Contributor
This does not happen When I sign-in with Built-in\Administrator account.
I have requirement to create webservices for existing c# code written in asp.net...do i need to create web methods for all functions used in web application???????? please do needful..
I follow the tutorial and creted a web site for my company sales system. One of my collegue mention we use the wrong templet, we should use Web application for company application.
Should i continue using web site or change to web application? We are creating application for company sales, inventory, hr ,etc where possible more than 1000++ user. And during month end, it will be high traffic and transaction. can Web Site Template with BLL and DAL handle it? or i just need a powerful server?
I create table:
DataSet data=new DataSet();
DataTable myTable = new DataTable("NewTable");
DataColumn keys = new DataColumn; // create column keys = new DataColumn(); keys.DataType = System.Type.GetType("System.String"); keys.ColumnName = "PointID"; myTable.Columns.Add(keys); &nb
I have this code in Global.asax but it not firing once an error occured:
void Application_Error(object sender, EventArgs e)
// Get the error details
HttpException lastErrorWrapper = Server.GetLastError() as HttpException;
Exception lastError = lastErrorWrapper;
if (lastErrorWrapper.InnerException != null)
lastError = lastErrorWrapper.InnerException;
string lastErrorTypeName = lastError.GetType().ToString();
string lastErrorMessage = lastError.Message;
string lastErrorStackTrace = lastError.StackTrace;
Please help me so I can call this method from any page?
Thaxxxxxxxxxxxxx a lot,
Code defects can be found using many approaches, but manual code reviews stand out in terms of precision and quality. We provide some best practices for planning and executing code reviews on your own team.
M. Chmielewski, N. Clift, S. Fonrobert, and T. Ostwald
MSDN Magazine November 2007
VSTO brings you the full feature set of Visual Studio including LINQ, WPF, WCF, and the .NET Framework 3.5.
Paul Stubbs and Kathleen McGrath
MSDN Magazine August 2007
In this article Juval Lowy describes how exciting new features in Visual Studio 2005, that will improve your overall productivity compared to the first version of C#, so you can write cleaner code faster.
MSDN Magazine Visual Studio 2005 Guided Tour 2006
The upcoming Microsoft .NET Framework 2.0 adds a number of globalization features that address the important issues of extensibility, standards support, and migration. Here authors Michael Kaplan and Cathy Wissink explain what these features mean to your globalization effort.
Michael Kaplan and Cathy Wissink
MSDN Magazine October 2005
C# 2.0 introduces a wealth of exiting new features, such as generics, iterators, partial classes and anonymous methods. While generics are the most talked-about feature especially for former classic C++ developers, the rest of the new features are important additions to your .NET development arsenal, enhancing power and improving overall productivity. This article is dedicated to all the new C# 2.0 capabilities besides generics to give you a good overall picture of the upcoming features.
MSDN Magazine May 2004
When running your tests how do you know which parts of your product code are actually executed and tested? This article presents a complete system called Fundamental Function code coverage that operates at the method level. The author gives an overview of the system so you can understand code coverage principles, explains the key parts of the underlying code, and discusses how code coverage fits into the overall product development cycle. After reading this article you will be able to perform code coverage analysis on any .NET software system.
MSDN Magazine April 2004
The presentation subsystem in the next version of Windows, code-named "Longhorn," offers powerful new capabilities to developers. This subsystem, code-named "Avalon," allows developers to take advantage of its capabilities through a new markup language code-named "XAML." In addition, modern object-oriented programming languages such as C# and Visual Basic .NET can be used to tie everything together. Because most applications written to Avalon will probably be a mix of XAML and programming code, this article discusses XAML tags used to control page layout along with the procedural code written to respond to events.
MSDN Magazine January 2004
When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.
MSDN Magazine September 2001
A Compensating Resource Manager (CRM) is any COM+ object that uses the CRM facility provided by COM+, a set of tools that make it simple to create a custom resource manager for business scenarios that require handling some non-database operation (such as generating a file) as part of a transaction. This article provides an overview of transaction processing, distributed transactions, and the two-phase commit protocol for transactions. Also covered are the implementation and configuration of a CRM.
MSDN Magazine March 2001
Can anyone guide me in the right direction or give an example of How I would accomplish this?
I have this so far but kind of stuck on how to do it programtically if I'm using header and content templates
I have a xmldatasource.. In a nutshell at what point in my code do I need to create a new accordion? does it need to be
in the item_databound handler?
Public Class AccordionTemplate
Dim templateType As String
Sub New(ByVal type As String)
templateType = type
Public Sub InstantiateIn(ByVal container As System.Web.UI.Control) _
Dim ph As New PlaceHolder()
Select Case (templateType)
Dim myLabel As Label = New Label()
myLabel.Text = "Test"
Partial Class Accordion
I have a requirement to create a Outlook Task , from a custom webpart through code .
Is this possible?
has any body tried this , if yes can you please give me an insight on how to acheive it.
Some sample Code would be highly appreciated.