Pure Chat looked great but it was discontinued. Damn.
Any other great chat programs for ASP.NET? Looking for one that can be used in Operator Help mode.
I have my ASP.NET web.config set with impersonation
<identity impersonate="true" userName="domainName\userName" password="userPassword" />
I'm running some a method like
IO.Directory.GetFiles(somePath)
And monitoring the file system access with Process Monitor
I keep getting all the access requests from the aspnet_wp.exe process to the folder, as the ASPNET user.
Why am I not seeing the access as the impersonated user?
I'm doing the simplest ajax request possible:
public ActionResult SayHello()
{
return Content("YYAAAY");
}
//////////
<div id="Div1">
<%= Ajax.ActionLink("SAY HELLO", "SayHello", new AjaxOptions { UpdateTargetId = "Div1" })%>
</div>
It works when I start an empty ASP.NET MVC project, but when I use it in my current project, it displays the whole page recursively instead of YYAAAY phrase only.
Where might be the problem?
Hello,
We have a series of products with built in web servers each of which has a login page, a customer wants to create a web portal in which they log into once, from there they can simply click on any of the devices (external websites) and it will automatically login to that site and redirect them to the page after the login screen.
The portal is using ASP.NET MVC, the external devices are Windows CE based units running embedded web servers.
Can find a lot on scraping, but not much on redirection after the event.
Many Thanks
Andy
hi,
i am using telerik editor for uploading images which are getting stored in images folder.
now i want to fetch all images and paths from that image folder and save only image name and path in to seperate database table.
can i do this in asp.net VB ?
please help.
Is it possible to have security in ASP.NET MVC configurable at runtime? For example, if I have a controller that has been marked as
[Authorize(Roles="Admin")]
Is there a way to add/remove roles at runtime? Or, do you have to change it in code and re-compile?
Is there a simple way to consume a WCF Service from Classical ASP respectively in VB6 ?
Is it possible to provide a WCF Service as a COM+ Service (component) ?
Hi,
I'm big fan of the MVVM pattern, in particular while using the ASP.NET MVC Framework (in this case v2 preview 2).
But I'm curious if anyone knows how to use it when doing file uploads?
public class MyViewModel
{
public WhatTypeShouldThisBe MyFileUpload { get; set; }
}
I want to set the height of asp:panel to auto and I also want to ensure that max height is 400px and after that scroll bars must be present.
I want to set it auto so that if the content is less than height 400px there will not be any empty space in the bottom.
Any ideas?? :-)
Greetings,
in my ASP.NET MVC application I've created a custom MembershipProvider. It works fine, however when user is successfully logged, I would like to create an Operator object and make it possible to access this object on every controller and view. I was thinking about session to do this but when session expires this object is null but user that had been logged using MembershipProvider is still logged in. Is there any way I can store my Operator object in MembershipProvider and access it on every controller and view I need?
does anyone know how to use jquery modal dialog in asp.net pages?
http://jqueryui.com/demos/dialog/
I've tried creating a simple aspx page, pasted code from the example (http://jqueryui.com/demos/dialog/), it almost works. The dialog briefly shows up and then disappears. It seems that the page is doing a postback. I'm not sure how to stop it, so that the modal dialog stays up.
I have a Linq to SQL data model that uses single table inheritance.
I created a new ASP.net Dynamic Data web site with all table scaffolding enabled, but I can't see any of the derived classes in my data model being scaffolded.
Is this by design?
What is the best way to support multiple languages for the interface in an ASP.NET MVC application. I've seen people use resource files for other applications. Is this still the best way?
Hello
I am wondering how agile (fast to develop yet stable) asp.net MVC compared to frameworks using dynamic languages such as Django or Ruby on Rails.
I will be happy if you share you experiance in the name of development speed (assuming each language/framework is known at a similar level)
Things I love about Django
Fast model design thanks to ORM
Good template system
Not too hard to deploy
Easy to extend
Lots of free apps to plugin and great documentation
Thanks
I have a GridView in my ASP.NET application that takes data to be rendered from EntityDataSource. GridView allows user to select rows. I want to get the entity that corresponds to the row user selected. I can get from GridView the ID(primary key) of the entity that corresponds to the row selected. How can I get the Entity that has that ID(primary key) ?
Hi there,
I am currently building a webshop for my own where I want to increment the product-stock when the user fails to complete payment within 10 minutes after the customer placed the order. I want to gather information from this thread to make a design decision.
I am using SQL Server 2008 and ASP.NET 3.5. Should I use a SQL Server Job who intervals check the orders which are not payed yet or are there better solutions to do this.
Thanks in advance!
Martijn
Hi,
Is it possible to create a new thread in asp.net to do some processing, and then upon completion, set a flag so that when the user requests the next page, I can insert some extra text or code to perform some notification? Or if it is possible to send some text to the browser after the request has completed?
For example jGrowl would be great to have a notification after some processing has been performed.
Thanks
I've added an App_Code directory to my ASP.NET MVC project so that I get dynamic compilation for plugins.
Only slight annoyance is that when developing new plugins, I don't get intellisense on classes inside the App_Code directory.
Currently I am creating them in another directory inside my project and then copying them into App_Code.
is there any way around this?
I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database.
I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than risk security issues in continuing to create an increasingly complicated custom solution. Are there any similar projects out there worth taking a look at?
Hi,
I am doing a really simple query in asp.net but after I inserted the LIKE clause it stops working.
Example:
String sql = " SELECT * FROM Products WHERE ID = @MYID AND Name LIKE '%@MYNAME%' ";
SqlCommand command = new SqlCommand(sql, cn);
If I removed the LIKE it works. Hence I am thinking its to do with the '' quotes?
Thanks
Hi,
Trying to create a view page in my asp.net-mvc app.
I have a strongly typed view, and I have also ovverriden the MVCPage class also.
For some reason when I load the page it says it can't load the type:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Line 2: Inherits="Blah.MyViewPage<Blah.ViewDataForBLahPage>" %>
public class MyViewPage<TViewData> : ViewPage<TViewData> where TViewData : class
public class ViewDataForBlahPage : MyViewData