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
A

anishkannan

@anishkannan
About
Posts
136
Topics
93
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • WCF service is faulted when i work remote machine
    A anishkannan

    Hi, WCF Application is working ok. but when i use the visual studio access my machine remotely. the service channel fault state exception is coming always. have to change any setting to resolve this issue..Thanks..

    WCF and WF csharp visual-studio wcf help

  • Draw circuit diagram using javascript
    A anishkannan

    i want develop a circuit diagram draw in online in my project module. like this circuitlab[^] Have any opensource jquery library for make this.please welcome, if have any more suggestion.

    JavaScript javascript com

  • worker process with single to instance
    A anishkannan

    IOC Container is new to me.. can you give some article related with web app.. i have doubt with this, it is applicable to asp.net web application ( page ) and also framework3.5

    ASP.NET csharp wcf windows-admin question

  • worker process with single to instance
    A anishkannan

    In my application i have to use singleton class.. and also enough single worker process. case is, when i start a application, it has created then working and if have any crash occurred, worker process created new one so it(singleton object) has been created again.. now i want to modify this single object getting entire( worker process).. my idea is 1) Can we create separate service for single instance application for processing. with service to iis communication via tcp using wcf. or 2) Can we assign that object to httpContext for keeping object to entire application. if i used this, its applicable all webservice method (ajax callback).. please clarify Any other idea?? please give proper idea for this concept..

    ASP.NET csharp wcf windows-admin question

  • Application variable with sync
    A anishkannan

    Hi.. In my code, i have to do the process at a time with single request, for that i added one Application variable checking with true or false. Some times multiple user given a same request, have to say message. In rare case, this condition make as false.. so two request executing at a moment. so i will plan to make as a synchronize using lock( obj). object is static readonly. My doubt is, if i make web garden, it will run more than one process.. its may affect application variable or static object locking mechanism... Or any other mechanism have to follow. Suggest!!!

    ASP.NET

  • Remove popup modal dialog title
    A anishkannan

    How can i remove popup dialog page title like in ie --webdialog and message box title like (message from webpage)

    ASP.NET question

  • Payable user creation
    A anishkannan

    Pay pal okay. through, can user give debit or credit card account number; then, what are the steps i have to do for access pay pal library

    ASP.NET question

  • Payable user creation
    A anishkannan

    I have to create a site with paid login user. If user need to be a member of this site , have pay some amount of money . for that how will handle transferred amount to our account. via credit card or debit card or online banking site. How can i do these? please give idea or article Thanks...

    ASP.NET question

  • Suggestion needs
    A anishkannan

    I have load a xml file data to application. which is the best way to load the data 1) dataset load 2) XML Serialization 3) XMLDocument Xml has defined data only, but have around one mb data...

    C# xml json

  • Database connection pool thr application
    A anishkannan

    Okay thanks!!!

    C# question database oracle

  • Database connection pool thr application
    A anishkannan

    We are using our own data access layer. which has

    public DataSet ExecuteProcedure(string strProcedure, Hashtable hashTableParameters, string tableName, ref DataSet datasetToFill)
    {
    try
    {
    Open();// objConnection = new OracleConnection(strConnection);
    // Procedure Execution
    // data fill to dataset
    }
    catch (OracleException ex)
    {
    throw ex;
    }
    catch (Exception e)
    {

            }
            finally
            {
                Close(); // objConnection.Close();
            }
    
            return datasetToFill;
        }
    

    Please tell me. if anything wrong in this ( i need correct in this code if has any mistaken ) we are using oracle sql developer client software. how check the connection pool in oracle db.

    C# question database oracle

  • Database connection pool thr application
    A anishkannan

    Thanks for reply... Your suggested option is the open statement execution then close; In Case, the single web request has multiple open and close; it have any problem? i face this : If access multiple user in many days, some times got exception as maximum pool reached in database side... Singleton : i mean that, single open at the time of first ; all statement execution then close

    C# question database oracle

  • Database connection pool thr application
    A anishkannan

    Hi... In my web application, we are using oracle database. my question is connection pool based on web application. Our application end user around 500. for these which connection is better i) create new connection for every request of user. ii) single connection pool via singleton object of the class iii) session based connection pool ( each user has separate connection pool) which principle is using for web application? can please give suggestion or valuable link to me --Thanks

    Web Development question database oracle

  • Database connection pool thr application
    A anishkannan

    Hi... In my web application, we are using oracle database. my question is connection pool based on web application. Our application end user around 500. for these which connection is better i) create new connection for every request of user. ii) single connection pool via singleton object of the class iii) session based connection pool ( each user has separate connection pool) which principle is using for web application? can please give suggestion or valuable link to me --Thanks

    C# question database oracle

  • Web service callback
    A anishkannan

    okay... Thanks for sharing but the thing is when I added web reference, coudn't get the method start with Begin(BeginHello). Its comes like HelloAsync. didnt get this type of proxy method automatically

    MyService.BeginHelloWorld(AsyncCallback, null);

    This is the call back method ok its comes after the webservice execution ,. but have to show that "completed web service" message to page. but in this case, its not reflected to page

    void MyService_HelloWorldCompleted(object sender, ForLearnWebservices.localwebserver.HelloWorldCompletedEventArgs e)
    {
    lb1.Text = "completed web service";
    //throw new NotImplementedException();
    }

    ASP.NET question

  • Web service callback
    A anishkannan

    hi, I needs some clarification for webservice. The scenario is, i have to call a webservice interface. which is performed more than three minutes ( ftp file upload and download process done by that webservice). which is taking some times to complete. So i used on the webservice proxy object property like

    service.Timeout = 1000*60*5

    its okay for webservice communication.but until that time we have to wait in our asp page. for that i created separate thread for webservice invoke.( thread is containing the class object is singleton). so when i used timer every time the class has the value or not . if there, i will shown to to the page. For this way, i have achieve my scenario. but incase, the user can close the page after invoke, in that case data's maintain the entire application ( The data stored in hashtable object as key and value) Have any option for achieve webservice performing long time?

    ASP.NET question

  • Consuming webservices
    A anishkannan

    I have to access some of data through webservices. The web services done by c++ which is hosted on linux machine. Normally when we consuming the webservices, we can do the add web reference. but in that case, we know only the ip address and port of the hosted server. How can i consuming that webservice method directly using visual studio 2008. Currently we know the methods of the web service, so just create sample web services in asp.net (*.asmx). then consuming that methods in our application, then changed the URL. Please provide correct way to consume that. Thanks

    ASP.NET csharp c++ asp-net visual-studio wcf

  • how to display menu control like code project top navigation and left panel menu
    A anishkannan

    You can search on google. for reference: ASP.NET Horizontal Menu Control[^]

    ASP.NET csharp tutorial asp-net

  • Thread Abort Exception
    A anishkannan

    Thank for reply. This is not based on web request process. This is schedule based background work. the user can update the time of the scheduling from web page. on the application host the thread initiate the process.At beginning the thread started and waiting for that particular schedule time( which is getting from database)And that thread is waiting until that time using manualResetevent ( block the thread process using waitOne(milSec). If comes at the particular times, the process is read the xml file and that data would be updated to database. for that xml reading

    XmlDocument configDoc = new XmlDocument();
    XmlNode parentNode = null;
    configDoc.Load(tConfigfilePath);
    if (null != configDoc)
    {
    XmlNode Id = configDoc.SelectSingleNode("/CCC/AAA");
    // Here the value set to object. which is datamember class.
    Id.SetValue("ZZZ", detectOid.InnerText);

               }
    

    Then that value inserted to database. Again that waiting for next day time using below code. In between time if any changed happened on the xml file, suddenly the catch ( with in a while loop) is catch the exception.

    private void XMlreaderProcess()
    {
    long delayTimeSpanTicks = 0;

         try
         {
             while (Active)
             {
                 try
                 {
                     triggerCtrl.Reset();                     
    
                     if (delayTimeSpanTicks == 0)
                     {
                          triggerCtrl.WaitOne();
                     }
                     else
                     {
                          triggerCtrl.WaitOne(new TimeSpan(delayTimeSpanTicks));
                     }
                     
                            StartProcess();
                 }
                 catch(Exception ex)
                 {
                     delayTimeSpanTicks = 0;
                     
                 }
                 finally
                 {
                     
                 }
             }
         }
         catch(Exception ex)
         {
             
         }
         finally
         {
             Active= false;
        }
    
    C# database xml announcement

  • Thread Abort Exception
    A anishkannan

    <System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(TimeSpan timeout) > Exception like this. The web application, here on clicks, singleton object creates separate thread then that thread read a data read from xml file. using XMLDocument. then after read that file data updated to database, then waiting for another request for that, with in the thread ManuelResetEvent wait is performed, if comes next request from while onlick button its Ret and release the thread block and doing that same process. as per requirement,In between if needs, can change xml value dynamically, but when i edit that xml and saving, the thread was aborting automatically then entire application crashed. code is

    private void XMlreaderProcess()
    {
    long delayTimeSpanTicks = 0;

         try
         {
             while (Active)
             {
                 try
                 {
                     triggerCtrl.Reset();
                     
    
                     if (delayTimeSpanTicks == 0)
                     {
                          triggerCtrl.WaitOne();
                     }
                     else
                     {
                          triggerCtrl.WaitOne(new TimeSpan(delayTimeSpanTicks));
                     }
    
                     
                            StartProcess();
    
                 }
                 catch(Exception ex)
                 {
                     delayTimeSpanTicks = 0;
                     
    
                 }
                 finally
                 {
                     
                 }
             }
         }
         catch(Exception ex)
         {
             
         }
         finally
         {
             Active= false;
        }
    
    C# database xml announcement
  • Login

  • Don't have an account? Register

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