Search

You searched for the word(s): userid:422168

Matching Posts

  • Referencing a project from diffrent solution

    Hi, I have a solution wich includes a SilverLight-project of mine. I want to somehow add a reference to this project (ie it's xap-file) from some of my asp.net projects that exist in other solutions. How would I do this? Can I register my SL-project as an assembly in my asp.net-project? /D PS. I could ofcourse simply refernece its virtual path on my localhost, but that does not sound like a good solution, perticularly not when I want to deploy my asp.net solution.
    Posted to Architecture (Forum) by Zcumbag on 11/16/2009
  • Re: Referencing a project from diffrent solution

    Hm, but the thing is that I want to keep the SL-project in a diffrent solution (this because other solutions will also use the same SL-app). Will adding the project remove it from the original solution? If not, would I be able to edit the SL-project in my asp.net-solution? Because that is not desireable... I am a bit confused here, as you may notice...
    Posted to Architecture (Forum) by Zcumbag on 11/16/2009
  • Re: Referencing a project from diffrent solution

    Well, That would of course work, but It would require me to have the xap installed in production as well. That is quite hard maintnance... Adding it as an existing project might work, but then I would like to somehow only have it(sl-project) check-outable in the original solution. Maybe I can manage that.
    Posted to Architecture (Forum) by Zcumbag on 11/16/2009
  • Can I get rid of the "/Default.aspx" in my URL

    Hello, I'm lokking for a way for my URLs to look like this www.domain.com/projects rather than www.domain.com/projects/default.aspx. Is this something I would/could configure on the webserver, och should I set up another structure in VS? Of course I could just use "/projects" on my hyperlinks instead of "/projects/default.aspx" but is that a good, solid solution? /D
    Posted to Configuration and Deployment (Forum) by Zcumbag on 8/28/2009
  • Re: My byte[] becomes empty when inserted to database

    The column is a varbinary(8000) in my sql server 2008. My bindata[] gets its value like this: BinaryFormatter bf = new BinaryFormatter(); MemoryStream s = new MemoryStream(); bf.Serialize(s, this); BinaryFormatter bf = new BinaryFormatter(); MemoryStream s = new MemoryStream(); bf.Serialize(s, this); // "this" is a class bindata = s.ToArray(); // at this row I can see that the bindata contains lots of info
  • My byte[] becomes empty when inserted to database

    Hello. I have a procedure that (is supposed to) instert a byte[] into a varbinary-field in sql server. Here's the code: SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString); SqlCommand cmd = new SqlCommand("SP_InsertStuff", conn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@Id", SqlDbType.UniqueIdentifier); cmd.Parameters["@Id"].Value = pId; // pId is a Guid cmd.Parameters
  • Re: Changing project "mode" so I can deploy single aspx.cs-files

    Thanks for you answer. I read up a bit in this article: http://msdn.microsoft.com/en-us/library/bb398860.aspx It looks like I somehow have to mark my project as a "no precompile". How can I do that? If I copy a aspx and aspx.cs file to the server, it will not run. It currently requires me to build/compile and install the entire bin directory as well. Can someone please help me on this one? /D
    Posted to Configuration and Deployment (Forum) by Zcumbag on 5/11/2009
  • Creating a Control that capsules HTML markup

    Hi, Im looking for a way to have a certain box module in my web project. The basics of the module is just a header with a certain CSS-style, the content is diffrent depending on the needs of that perticular page like this: --------- |Header | --------- |Content| --------- How can I achieve this without copy-paste the header-code between my pages? One solution would be to create a base-usercontrol and make child controls inherit that basecontrol. But then I will end up with a whole bunch of childcontrols
    Posted to Web Forms (Forum) by Zcumbag on 4/28/2009
  • Changing project "mode" so I can deploy single aspx.cs-files

    Hi, A few months ago I created a new web project (asp.net ajax) to replace an older project. In the old project I was able to deploy a single aspx.cs-file to add a new feature to production. But with the new project I have to compile and deploy the entire /bin-folder. I was wondering if there's a way to make my new project behave like the old one (so I can deploy single cs-files again). I have looked around the project properties but found nothing to help me. Can anyone help? Thanks!
    Posted to Configuration and Deployment (Forum) by Zcumbag on 3/26/2009
  • Re: Deny users acess to a folder with PDF documents

    I think I have foud a way! In my IIS (properties on virtual directory->properties->virtual directory->configuration->mappings), I added the pdf-extension to be handled by the aspnet_isapi.dll. Doing this disallows access to users not in the PDFROLE-role. Is this a good solution? I'm no IIS-expert.
    Posted to Security (Forum) by Zcumbag on 3/26/2009
Page 1 of 10 (98 items) 1 2 3 4 5 Next > ... Last »