.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Zip or Nupack MVC Distro for Xcopy Deploys

Posted By:      Posted Date: October 20, 2010    Points: 0   Category :ASP.Net

You know what would be really nice is a non installer distro for MVC. Currently I run the installer locally and copy the bits from program files into our project lib folder and point the project assembly references there. I don't mind running an installer to get the VS templates but its a pain to sift through the bits and figure out which ones I need for the site to compile (Esp with MVC3 as there are a number of assemblies). Simply having a zip or better yet a nupack package would be a lot simpler.

Storing the assemblies in our lib folder ensures that everyone is using the same bits and eliminates the need of running an installer on all our servers when there is a new version. 

View Complete Post

More Related Resource Links

XCOPY deployment of WCF application produces random exceptions

We are using a simple self-developed XCOPY-like tool for copying the binaries etc. of a WCF application directly into the physical folder of a virtual directory on IIS. After the deployment the application randomly throws an excetion ("The ObjectContext instance has been disposed and can no longer be used for operations that require a connection"). I know that this is EF related (we are using EF for data access purposes within our WCF services) but donÄt think it has anything to do with EF.However, the exception occurs absolutely without any pattern. Starting our app multiple times results in the excetion sometimes but it succeeds immediately afterwards. I even restarted the IIS windows service but the same phenomenon still exists afterwards.When I use the "Publish" dialog from VS2008 for the deployment everything is fine. However, we need to do the deployment through our script as we have a staging location between our dev and prod environments.What do we have to to in order to make a successfull and reliable XCOPY deployment and get rid of this strange behaviour?

How to Keep XCOPY-ed Files From being Checked Out

I have a script that uses DOS XCOPY to copy files to a SharePoint directory. I am using versioning on the document library. The files copy over just fine. The problem is, they show up as checked out to the person's account who uploaded them. Is there a way to make it so the files are NOT checked out when copied to SP using the DOS XCOPY? Thanks!!

NuPack Admin


Hi , a nice feature was added to WebMAtrix , the Nupack feed admin ! 

now , i saw it is embedded somehow in a class ?!? , ( rather than providing simple admin pages ).

First , how do i turn this off ?

next how do i add my own feed in the _Admin pages , like in visual studio ?

i already got some hints , but maybe someone could make a proper tutorial about it , at it seems not complicated to deal with it VS and with the nupack.exe tool

I can imagine that i can deliver a website to a customer with custom content , then update parts of that content with a kind of "cron" on iis that would check from time to time if a peculiar class or helper was updated in a main repo and if needed , download and install the update automatically.

What about this in Razor style ?


Problem with XCopy deployment of SQL Server CE 3.5 SP2 Beta

As ErikEJ's article says (http://erikej.blogspot.com/2009/10/whats-new-in-sql-server-compact-35-sp2.html), "...Notice the “Private” folder, which contains a version of System.Data.SqlServerCe.Dll which should be used for private deployments, to prevent the “Assembly probing” issue".

I have following app.config file:

<?xml version="1.0" encoding="utf-8"?>
      <remove invariant="System.Data.SqlServerCe.3.5" />
      <add name="Microsoft SQL Server Compact Data Provider"
           description=".NET Framework Data Provider for Microsoft SQL Server Compact"
                 PublicKeyToken=89845dcd8080cc91" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="sqlcelib" />

NuPack Up For Grabs Items

In my last post, I described how we're trying to improve and streamline contributor guidelines to make it easy for others to contribute to NuPack. Like all product cycles anywhere, we're always running on tight time constraints. This helps us to maintain a tight focus on the product. We don't want to the product to do anything and everything. However, we do want to deliver everything needed (along with double rainbows and unicorns) to meet our vision for this first release. The best to meet those goals is to get more contributions from outside the core team. And the best way to do that is to remove as many roadblocks as possible for those interested in contributing. What's Up For Grabs?! When approaching a new project, it can be really challenging...(read more)

Updating NuPack Contributor Guidelines

A couple days ago I wrote a blog post entitled, Running Open Source In A Distributed World which outlined some thoughts I had about how managing core contributors to an open source project changes when you move from a centralized version control repository to distributed version control. The post was really a way for me to probe for ideas on how best to handle feature contributions. In the post, I asked this question, Many projects make a distinction between who may contribute a bug fix as opposed to who may contribute a feature. Such projects may require anyone contributing a feature or a non-trivial bug fix to sign a Contributor License Agreement. This agreement becomes the gate to being a contributor, which leaves me with the question, do...(read more)

Announcing NuPack, ASP.NET MVC 3 Beta, and WebMatrix Beta 2

I'm excited to announce the beta release of several projects today. Two of these releases - ASP.NET MVC 3 Beta and WebMatrix Beta 2 - are evolutions of projects we first previewed this summer.  The third - NuPack - is a new project that I'm particularly excited about. NuPack - Open Source Package Manager for .NET NuPack is a free open source package manager that makes it easy for you to find, install, and use .NET libraries in your projects. It works with all .NET project types (including, but not limited to, both ASP.NET Web Forms and ASP.NET MVC). NuPack enables developers who maintain open source projects (for example, projects like Moq, NHibernate, Ninject, StructureMap, NUnit, Windsor, RhinoMocks, Elmah, etc) to package up their libraries...(read more)

Introducing NuPack Package Management for .NET - Another piece of the Web Stack

Microsoft's been filling out the Web Stack with more and more right-sized LEGO pieces lately, and today ScottGu announced the developer preview of NuPack . It's a piece of the stack that's been notably missing for years and after using it for a while now, I'm not sure how I lived without it. NuPack is a package management system for .NET. The goal of NuPack is to make the process of incorporating third party libraries into your solutions as simple as possible. Package Management itself is not a new concept. From Apt and "deity" before it at the system-level on *nix, to Ruby Gems, Maven, Synaptic, portage, dpkg, rpm and others, it's a well understood space. There are package managers for operating systems that install...(read more)

Introducing NuPack Package Manager

NuPack is a free open source developer focused package manager intent on simplifying the process of incorporating third party libraries into a .NET application during development. After several months of work, the Outercurve Foundation (formerly CodePlex Foundation) today announced the acceptance of the NuPack project to the ASP.NET Open Source Gallery. This is another contribution to the foundation by the Web Platform and Tools (WPT) team at Microsoft. Also be sure to read Scott Guthrie's announcement post and Scott Hanselman's NuPack walkthrough. There's also a video interview with me on Web Camps TV where I talk about NuPack. Just to warn you, the rest of this blog post is full of blah blah blah about NuPack so if you're a person of action...(read more)

xcopy using C#


I have to copy some of the files from one location on client to the server overnight. And for that I have heard xcopy would be best solution. Can someone provide a sample xcopy in C# and explain the code. 




Sharepoint 2007 SP2 Email distro using custom list.


Here is my problem.


I have two lists, one is like an outage tracker that needs to send a workflow email to several group email accounts.

I can get this to work using a variable etc. But they would like the distro groups and members managed in another list where group email has members associated with it.

We use lotus so excahnge options are out the door.

The need is from the first list the user makes a choice from the email distro group category and the workflow emails all members assigned to that category based on the choice made.

List 1 Outage list where choice is made.

list 2 has ID, Title, Group email account, Members email accounts

The members is only a field with email also these users are not AD users or have accounts in our environment.

Hope this is not confusing?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend