AJAX :: Creating Notification Service For Users?

Mar 18, 2010

I'm facing a senario in which I want my logged in users can send requests to each other(Request generally is official request like request for resources, etc.).

And other user can get notification for new request(But this is not about e-mail notification).I want to use ajax. I have no idea how to start with. Please somebody help me with this. Simple example will be great to start with.

View 3 Replies


Similar Messages:

Send Notification Emails To Specific Users

Mar 26, 2010

I need to send notification emails to specific users at different times, Can this be done in the Global.asax page using vb? Also will i have to upgrade my Database from sql express to standard?

View 2 Replies

AJAX :: Showing A Pop Up As Notification?

Mar 15, 2011

How can I implement the same either

using Ajax control toolkit or using Jquery? What I am looking at is when ever someone places an order and admin of my team is logged-in to the application,

he must get real time updates about the order (the moment order is placed, a pop up must come on his sceen). I want the best user exprience.

View 2 Replies

AJAX :: App Pool Restarts Because Of File Change Notification?

Aug 31, 2010

IIS restarts everytime i delete a file. I came across this code which was supposed to fic the problem but the line f.GetValue(..) in last but one line returns null.

[Code]....

View 2 Replies

AJAX :: Show Alert Message Notification On Specific Dates From Database

May 7, 2015

In my table me save data like this

name date place

celv 01/07/2014 Karaikudi

 me fetch the data from sql and show it in a new window   

but today date is 25/06/2014 i need to show the msg on 01/07/2014 after login in our application.

View 1 Replies

C# - Creating / Managing Users Remotely?

Mar 31, 2011

I've put my site online and I'm looking to add/change user membership. From Visual Studio, I can access the Website Administration Tool WSAT and it's great if you just want to add users manually. Is there a similar way to change users once the site is hosted on a remote server?For the moment, I change the user information through the WSAT and re-FTP the mdf file; it's pretty painful.

View 1 Replies

Security :: Creating Users In Multiple Application?

May 19, 2010

I have 2 different website/applications with 2 different asp.net membership databases in the same server. Now my client wanted to create a user in one website and add that person automatically in to the other application/website/database too. Right now my applications create users using asp.net membership and added to its respective databases. Is it possible to create a user from different application using asp.net membership?

View 6 Replies

Security :: Creating Users For Multiple Applications?

Jan 27, 2011

i am managing three applications .. i hve separate pages in each of these applications for creating users and roles..

can i create a single page where in i can choose for which applications i want to create users..

i am storing the users of each of thse 3 applications in a same database and i hve separate application name for each application in membership provider

View 1 Replies

Security :: Creating An Admin Area For Deleting Users?

Feb 11, 2010

Following one of the other tutorials I have figured out how to manage users [URL] but it does not mention how to delete them from the GridView. I have attached my Page's code plus my VB script. I have added a delete link into the GridView for preparation but all I would like is the VB script so that when the user clicks delete it deletes the user from the GridView and Databse. I hope I have made every really simple, anyway here it is:

ManageUsers.aspx

[Code]....

View 2 Replies

Security :: Creating A Gridview To Allow Editing Of Current Users

Aug 25, 2010

I finally got membership and roles setup and seems to be working. I have setup a page to allow the creation of a user and editing of roles for a user. I would like to setup a page with a gridview that displays all users and what roles they are assigned. I remember running across someone else that was looking to do the same thing, but cant find it. Not sure if it was in this forum or online somewhere else.

But i found that i can use the aspnet_Membership_GetAllUsers procedure in my db to get all the users, but how can i add the roles to each person and possibly setup the gridview so that each role they have, is displayed on their row in the gridview So i would like to see something like this maybe more data displayed depending on the client request.

Username Email Last Login Roles
meofcourse me@hi.com 08/25/2010 X Admins X Approvers
themofcourse them@hi.com 05/25/2009 X Approvers

The X indicating a checkbox.. and have it setup so they can uncheck the role, that triggers the update and causes the list to refresh and display the new current roles for the individual users. The procedure listed about does not return the roles, so wasnt sure if i could use that procedure and union it with another to get the combined results im looking for.

View 4 Replies

Architecture :: Creating A Comments Page For Users To Review And Comment On An Article?

Dec 12, 2010

I am trying to create a comments page for users to review and comment on an article. I have 2 buttons on each comments posted by users; "Like" and "Don't Like". I am stuck with how to track which user voted already for a given comment. I am thinking of two options and would like to know if they are they way to go or is there a better solution.

Option 1: I have created a table in my database with stores, the comment id, the userid of the user who rated it and the value "like" or "don't like". So each time I have to query my table to find out if this user indeed vote for a given comment. The table unfortunately grows exponentially!!

Option 2: I store the commentid, userid, and "like" or "don't like" value in a cookie on the client's machine. I read the cookie and find out if the user has already voted on a comment. This is proving to be VERY quirky with cookie expiration, growing cookie size and also multiple users on the same machine.

In either way, my test case of ~1500 users, and 2 Million comments, this is getting to be HEAVY on both methods. Is there anything better?

View 3 Replies

Security :: Basic Information About Creating Users With Create User Wizard?

Jan 8, 2011

Im very new to ASP.net and have no experience with it at all.Im currently developing a website,and am confused about creating users.Im using the create user wizard,everything is working fine.However,I am worried about the security of user information.I believe the user information is stored in the APP_Data folder, am I right in believing that this folder is secure?

Exactly how is the user information stored when using the create a user wizard?In a database in the APP_Data folder?Is it encrypted automatically when a user signs up?

View 5 Replies

Web Forms :: Creating Simple Whiteboard With Dynamic Updates Between Connected Users

Jul 16, 2012

I need to create a very simple whiteboard with dynamic updates between connected users.

While doing research i hit through a link: [URL] .... which is providing same functionality and it was impressive at first look w.r.t functionality.

What will be required to create such a whiteboard with dynamic updation.

View 1 Replies

Creating Web Service Failure?

Feb 17, 2010

In Visual Studio 2005.I have created a Blank solutions(XYZ) and then add a ASP.Net Web Service Project(TESTP) under it.And then create a .asmx file(WEBFI.asmx) and then write a method and add [WEB Method] on top of the method.Now compile it.And then publish it.But in publishing folder I didn’t found any WSDL file which I should call in different machine (which is in LAN ).

View 6 Replies

MVC :: Creating Wcf Service To An Application?

Sep 13, 2010

I wounder if there are some differencences when creating a wcf serivce to a MVC webbapplication.

how to create such a serivce for a MVC application. and returns a json object.

View 3 Replies

C# - Creating WCF Service To MVC Webapplication

Sep 13, 2010

I wonder if there are some differences between creating a WCF service and an MVC web-application. If you know of good links on how to create such a service for an MVC application that returns a JSON object please do post them.

View 1 Replies

C# - Creating And Exposing Web Service In MVC 2

Feb 20, 2011

I've looked around for some tutorials, but everything I see is how to use REST services with my app. But that's not really what I need, I'm not doing basic GET requests, the end user needs to do some complicated calculations with several classes and variables from my web service.

In a Web Forms app, I would just add a Web Services solution and do everything in there. Is that the recommended solution for an MVC app?

View 2 Replies

Configuration :: Creating An Msi For A Web Service?

Nov 11, 2010

I am trying to create an msi for a Web Service. I want the web service to be installed as a 'Web Site' not as an 'Application' under Default Web Site in IIS. I have code that creates a web site, but when I try to add it as a custom action under the install node of the msi, the code isn't getting executed. Reading about installers, it seems that anything under the install node gets fired after the installer has already started, if that makes sense. I want to be able to create the web site before the installer actually begins the installation process so that when the user comes to the window where he/she has to choose the Site under which to install the web service it can already be listed there and they'll be able to choose it.

View 1 Replies

Creating A Web Service Application In .NET 4.0?

Mar 24, 2011

I am trying to create a web service application that will need to use .net 4.0 for my datamodeling and other things. I noticed in VS2010 when I select New | Project the "ASP web service app" option is available if .net 3.5 is selected in the combo box but if I change that to .net 4.0 the option goes away.

After researching the only thing I found was a message where someone suggested to use the WCF web service option. I have never dealt with WCF before so I have no idea what path that will lead me down.

Here is my concern... we have existing web services developed in .net 3.5 that are already in use and we have windows based client applications that are developed in Delphi (version 7.0 to be specific) that already talk to these web services with no problems and no special coding required. Delphi can simply import the WSDL which generates an interface unit that gets compiled in and away we go. This new service app I need to create must also be accessed via the same Delphi apps.

The current asp web service apps generate 4 files when "published": web.config, .asmx file and in a in folder there is a .pdb and .dll file.

Can anyone tell me if support for this type of web service app is still available via .net 4.0 and if so how do I create the project or is that something that has been discontinued and thus no longer possible?

View 2 Replies

VS 2010 Errors With Creating Web Service

Mar 5, 2011

I am new to the whole ajax/jquery/web service scene. I am trying to create a web service to pass back data for a jquery post and currently have two errors. It appears there are examples the web but must in c and looking for something in vb. Below is my web service. See in bold the error descriptions and in red the items visual studio is highlighting.

WordsService.asmx
HTML Code:
<%@ WebService Language="VB" CodeBehind="~/App_Code/WordsService.vb" Class="WordsService" %>
WordsService.vb
Code:
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Runtime.Remoting.Services
Imports System.Collections.Generic
Imports System.Data.SqlClient
Imports System.Data
Imports System.Web.Script.Serialization
' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
<System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="[URL]
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class WordsService
Inherits System.Web.Services.WebService
Private _sConn As String = ConfigurationManager.ConnectionStrings("DB").ConnectionString

'1) Type 'ScriptMethod' is not defined.

'2) Value of type '1-dimensional array of String' cannot be converted to '1-dimensional array of 1-dimensional array of String' because 'String' is not derived from '1-dimensional array of String'.

<WebMethod(Description:="Gets the books matching part of a title."),
ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
Public Function GetBooksByTitle(ByVal strTitle As String) As String
Dim myConnection As SqlConnection = New SqlConnection(_sConn)
Dim objCommand As SqlCommand = New SqlCommand("SELECT * FROM table WHERE field like '%" _
+ (strTitle + "&' ORDER BY field;"))
Dim dsSearch As DataSet = New DataSet
Dim sdaSearch As SqlDataAdapter = New SqlDataAdapter(objCommand)
sdaSearch.Fill(dsSearch, "english")
myConnection.Close()
' Create a multidimensional jagged array
Dim JaggedArray()() As String = New String((dsSearch.Tables(0).Rows.Count) - 1) {}
Dim i As Integer = 0
For Each rs As DataRow In dsSearch.Tables(0).Rows
JaggedArray(i) = New String() {rs("BookNum").ToString, rs("Title").ToString, rs("Author").ToString}
i = (i + 1)
Next
' Return JSON data
Dim js As JavaScriptSerializer = New JavaScriptSerializer
Dim strJSON As String = js.Serialize(JaggedArray)
Return strJSON
End Function
End Class

Here is the article I am currently following for example: How To Create A JSON Web Service In ASP.NET.

View 3 Replies

C# - Creating Web Service Singleton Object

Dec 1, 2010

I am creating a singleton object in the first request to the web service and keeping it in the memory. This works fine for first few seconds. If I make a request 5 minutes later, I can see that the singleton object is created again? is my singleton object getting disposed after x no of minutes? how can i make increase the life-time of my object forever ?

public sealed class Singleton
{
static ServerInstance instance = null;
static readonly object padlock = new object();
Singleton() {
}
public static ServerInstance Instance {
get {
lock (padlock) {
if (instance == null) {
instance = new ServerInstance();
}
return instance;
}
}
}
~Singleton()
{
#if DEBUG
ExceptionFactory.Fatal("~Singleton() called!");
#endif
}
}
[WebMethod]
public string OnReceiveEvent(string objectXmlData, string objectType) {
if (!Singleton.Instance.initServerComplete) {
InitServer();
}
return Singleton.Instance.OnReceiveEvent(objectXmlData, objectType);
}
public void InitServer() {
if (!Singleton.Instance.initServerComplete) {
Singleton.Instance.InitServer();
Singleton.Instance.initServerComplete = true;
GC.KeepAlive(Singleton.Instance);
}
}

View 2 Replies

Creating / Consuming Web Service For HTML?

Mar 2, 2011

i have a requirement to build some sort of services that can easily be called to a 3dr party API.

the call can be done through simple
1) HTML page
2) ASPX page
3) MOBILE device

should i create a separate web service project separately and create few methods [WebMethod] ?

also the method can be static?

/// <summary>
/// Summary description for signup_service
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]

[Code]....

View 1 Replies

How To Provide Email Service To Website Users

Feb 21, 2011

I am currently working on a project in which I am assigned to provide e-mail features to the users of our site. unlimited users can create there mail accounts dynamically with our servername say if the website address is www.xyz.com then the users of this site can create their mail boxes like user@xyz.com. My clients want to provide e-mail service like yahoo, gmail, aol, hotmail, rediffmail, zapakmail, etc...

View 4 Replies

How To Authorize Users On An WCF Service Hosted In A Website

Jan 29, 2010

I have a WCF service that runs in my web application that provides data to a Silverlight application and is defined as follows (with an appropriate .svc file)....

[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class DispatchService [code]...

The idea is that the user logs into the website and is then authorised for all services. I do not want to have a login aspect to my Silverlight application to authenticate users.Therefore I dont want anyone to be able to call my service who is not authenticated.

Could I...Somehow determine this for each Operation Contract. I had a look inside the OperationContext object but couldnt find anthing that stood out as a way to determine who the user was.Somehow attribute the ServiceContract so that the method can only be used by authorised users?Put something in my web.config to stop unathorised users from being able to access the folder containing the services?

View 1 Replies

Caching ASP.NET Users Related Data Within WCF Service?

Sep 17, 2010

My requirement is to call WCF web service from ASP.NET code behind and pass some data for example:void Add(int x, int y);Result of the operation should be somehow stored within WCF web service (member variable).
Later user should be able to call double Equals();and get the result of the operation. Of course since it's an open website many non-authenticated users can open the ASP.NET page and call the web service.
Alternatively Add method can return "key" that can be used to get result back,

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved