Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Sandeep Akhare

@Sandeep Akhare
About
Posts
1.7k
Topics
94
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Get Session in Ashx handler in MVC asp.NET application
    S Sandeep Akhare

    Hi All, I am using Http Handler ashx file for showing the images. I was using Session object to get image and return in the response Now problem is i need to use custom Session object its nothing but the Wrapper on HttpSession State But when i am trying to get existing custom session object its creating new ... its not showing session data , i checked the session Id which is also different Please adive how can i get existing session in ashx file ? Note: When i use ASP.NET Sesssion its working fine

    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class GetImage : IHttpHandler, System.Web.SessionState.IRequiresSessionState
    {

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET asp-net question csharp com architecture

  • Disabling the Submit after once Click in MVC asp.NEt application
    S Sandeep Akhare

    Hi All, I am not kidding but finding very difficult to disable a buton after clicking once so that user should not click same button multiple times. I tried Javsacript , jquery ... Its disabling the button but then form is not getting submitted Help really appreciated One more thing its ASP.NET MVC application.

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET asp-net csharp javascript com architecture

  • Running Applet in MVC web application [modified]
    S Sandeep Akhare

    My Mistake Chris. Actually you are right its no way related to MVC ... thanks for providing right solution

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET asp-net announcement csharp c++ java

  • Running Applet in MVC web application [modified]
    S Sandeep Akhare

    Sorry Graus, But i think MVC has ..... i think i need to ignore the class path of Applet as its not gettig path of class files.

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET asp-net announcement csharp c++ java

  • Running Applet in MVC web application [modified]
    S Sandeep Akhare

    Hi Guys, I have a applet that runs with no issue in asp.net web application ... Now we are migrating it to ASP.MVC application ..here applet is not working throwing class not foind exception please let me know if anyone could able to run applet in MVC application .. below is the code from view

    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/update/1.6.0/jinstall-6u11-windows-i586.cab#Version=6,0,0,11"
    id="DeviceControl">
    <param name="java_arguments" value="-Xmx256m" />
    <param name="CODE" value="/com/XYZ/application/main/SomeApplet.class" />
    <param name="archive" value="all jar path" />
    <param name="type" value="application/x-java-applet;version=1.6" />
    <param name="scriptable" value="true" />
    <param name="mayscript" value="true" />
    </object>

    exception that i am gettting is load: class com.SomeApp.scanner.main.ScannerApplet.class not found. java.lang.ClassNotFoundException: com.XYZ.application.main.SomeApplet.class at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: open HTTP connection failed:http://localhost:3213/Appname/com/XYZ/application/main/SomeApplet/class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    modified on Tuesday, November 10, 2009 6:09 PM

    ASP.NET asp-net announcement csharp c++ java

  • 'sys' is undefined in asp.net web application
    S Sandeep Akhare

    Not sure what went wrong ..... now its working as expected .... thanks all

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET help csharp javascript asp-net com

  • 'sys' is undefined in asp.net web application
    S Sandeep Akhare

    Still not working ... so do you know why ScriptResource.axd requests return 302 in my case ? intead of 200

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET help csharp javascript asp-net com

  • 'sys' is undefined in asp.net web application
    S Sandeep Akhare

    Thanks for the reply Manas .. let me chek

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET help csharp javascript asp-net com

  • 'sys' is undefined in asp.net web application
    S Sandeep Akhare

    Hi All, I am getting 'sys' is undefined suddenly in one of the QA environemnt. There are no code changes. it seems there is some environmental issue but not sure what is causing this issue. I am saying there is no code issue as this code is working in other QA environment (present in other box) a also checked the web.config it is same as in other environment too.... When checked with HTTP watch in the browser it seems that webresource.axd files are not getting downloaded when it is trying to donwload the file server is giving 302 http error and redirecting to some error page but for me page is redirecting properly with javascript error "sys is undefined" Please let me know if any one has experienced the same issue

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET help csharp javascript asp-net com

  • Nunit and unit testing of ASP.NET application [modified]
    S Sandeep Akhare

    Hi Navneeth, We are planning to re-factor the application for next release. But for current application i have to write the test cases for such complex application. I read the links you have mentioned but still i am not able to conclude anything 1. Wraping of httpContext :- does it mean creating the app domain for your application ? 2. inserting the dependency object still i am not sure how i will insert it ? Problem is Page is derived from one base class which is derived from another base class nad interfaces There are many properties and objects some of these properties are readonly like sessionContext

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET question csharp asp-net com testing

  • Nunit and unit testing of ASP.NET application [modified]
    S Sandeep Akhare

    Hey Navaneeth Congrates for becoming MVP!

    N a v a n e e t h wrote:

    You need to isolate the dependencies. Separate the code into several projects and have a single project for all your ASPX files. Now you can write tests for the other projects. Other projects should not get a reference to System.Web.

    You mean to seperate the business layer from UI only for Testing purpose ? for other suggestions i need to look in to them. Thanks for reply

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET question csharp asp-net com testing

  • Nunit and unit testing of ASP.NET application [modified]
    S Sandeep Akhare

    Thanks Chris for your reply Thats the problem UI layer is having business rules implemented making quite hard to test the application. We are going to rewrite the application using MVC architecture but before to that we need to write Nunit test cases for existing application.

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET question csharp asp-net com testing

  • Nunit and unit testing of ASP.NET application [modified]
    S Sandeep Akhare

    Hi all, Need your suggestions How should i approach testing functions in a ASP.NET application. Its not integration testing but a unit testing(functions) But the problem is It is nearly impossible to isolate a function due to dependencies Many funcition are expecting other objects like Page Class context, Configuration settings many more complex objects like session context... etc now how can i test this methods using Nunit framework how should i initialized these objects ? should i use mock object concept ? is Nunit framework appropriate tool for writing the test cases ? Please suggest

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    modified on Tuesday, August 4, 2009 3:55 PM

    ASP.NET question csharp asp-net com testing

  • Call Dll
    S Sandeep Akhare

    I am little bit afraid of your question :) i have one question for you .... 1. Are u developing a web Application ? 2. if yes do you want to run this dll at the client side ? if yes then i doubt if below answers can help you

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET csharp html tutorial question

  • want some help on my website
    S Sandeep Akhare

    Basically what are u trying to do ? why anyone will help you in your task ?

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET csharp com tools help

  • Parsing Large XML File
    S Sandeep Akhare

    What is the size of the xml file you want to parse ? have a look at this Parsing/Loading/Searching XML Document of Size ~ 1GB[^]

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET xml database json performance help

  • Creating Charts/graphs on a webapge
    S Sandeep Akhare

    Thanks for the reply

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET com tools question

  • Creating Charts/graphs on a webapge
    S Sandeep Akhare

    Thanks for quick reply .. i am using dot net framework 3.5 but not sure if i am having SP1 or not I think Dundas and Fusion Chart are not free.

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET com tools question

  • Creating Charts/graphs on a webapge
    S Sandeep Akhare

    Hi All, I have to show the reports in the form of graphs/charts on a web page Is there any good tool available ? I know there are many tools but want to check if any one has extensive experience on any of the tool who can give me some feeback.

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET com tools question

  • The request failed with HTTP status 400: Bad Request
    S Sandeep Akhare

    At service server side which we are calling from our web application there is no any information for this request in the logs . It seems that request is not going at the servert itself.

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    ASP.NET help com sysadmin beta-testing discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups