provider

Custom Providers, Best Practices, and Configuration Conflaguration

I have been building web sites with ASP.NET for a while now. At first I avoided learning the intricacies of the ASP.NET Provider Model. Instead I used the canned providers where necessary, and leaned heavily on Dependency Injection frameworks for all my other needs. Recently however, I have been writing pluggable components for ASP.NET ...

How do I persist Powershell provider drive information?

In my Powershell provider, which is a business-logic layer over an SQL database, the Powershell drives equate to database connection settings. This collection of connection settings is persisted to an encrypted XML file on the local computer. An administrator may add these PS drives on a computer, supplying SQL Server credentials, that...

Custom xmlsitemapprovider can't set Title of sitemapnode?

I created my custom XmlSiteMapProvider. Works out great but I want to be able to change the Title of the SiteMap also in there. However I get exceptions that Title is suddenly readonly while the property has a setter when viewing in the Object Browser. Anyone can explain this behavior? I've been trying to create a new node, use the Remo...

Sync Framework custom providers to communicate over WCF

Hello, I'm using Microsoft Sync framework 1.0 (without ADO.NET services) I have created 2 custom providers: Xml provider and database provider. The code of both providers can be seen at: http://dl.getdropbox.com/u/204110/MyBaseSyncProvider.cs http://dl.getdropbox.com/u/204110/MyDbSyncProvider.cs http://dl.getdropbox.com/u/204110/My...

Help trying to use Apple Push Notification Service through Java

Am trying to implement a Java program which sends an Apple Push Notification to an iPhone client app... Found the following library: Java APNs Provider code: Created the following code (from Javapns) to use in my app: try { PayLoad payLoad = new PayLoad(); payLoad.addAlert("My alert message"); payLoad.addBadge(45); pa...

VSTO Message Store Provider Message

Hi all, I wonder if i can use the VSTO to create my custome message store 's mailitem. if yes, how do to it.. Thanks. ...

asp.net membership/roles provider question

My application needs the ability to be secured at different levels for different teams. For example, someone may be an administrator for one team but may only be a viewer for another. Ideally I'd like to have a single, small set of roles, but I'd like to assign people to separate roles per teams. i.e. "Joe" might be an administrator...

What kind of hosting do i need to serve as an Apple Push notification provider?

Hi, I am going to implement an Apple Push notification provider, but i am note very clear about the requirements to implement it. As today, i know that it needs: Cron job support. Database support. Scripts support (PHP at least). Outgoing 2195 port allowed. The question is: Do i need to contract a VPS hosting service or just any ...

Getting "SQLExpress database file auto-creation error" for ASP.NET site that uses AspNetSqlMembershipProvider, but connection string is to SQL Server 2005

Folks, I have an ASP.NET v2.0 website (not web application) where the root directory is public, but the "Admin" subdirectory requires authentication. Everything about the setup is very generic - I used a connection string defined in the root web.config, and the standard AspNetSqlMembershipProvider provider, and I'm using the ASP.NET Lo...

How to register Firebird data provider for Entity Framework?

How do I register a Firebird data provider to use it with Entity Framework? What should I do to make it appear in the Entity Data Model Wizard/Choose Data Source window? I expect it to appear in the Data sources: or Data provider: lists. Is it possible? Or I need to configure this connection another way? PS: The provider I'm trying to ...

iPhone Push Notification Unable to Connect to the SSL Server

I followed the instructions at: How To Build An Apple Push Notification Provider Server When I run the php script on my MacOSX or on Windows using Parallel desktop, the script works. But as soon as I run it on my hosting I get the message: Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gatew...

ASP.NET MVC 2 - Implementing custom Metadata and Validator Providers

With the preview 2 release of ASP.NET MVC 2, we now have base classes to implement our own custom providers for metadata and validation. Specifically, with ModelMetadataProvider and ModelValidatorProvider. There isn't a lot of documentation on these yet (just released yesterday as a preview, so I'm neither surprised nor disappointed). ...

runCommand provider in msdeploy's Manifest.xml file

I am trying to include running a batch script (more, provided I can figure this out) as part of the deployment process via msdeploy by using the runCommand provider in the manifest file. This is what my manifest file looks like <MSDeploy.iisApp> <iisapp path="Default Web Site/SiteName" /> <dbfullSql path="msdeploy.config" transact...

how provider sends notification to APNs?

i want to know that if i have a server how do i send push notification to devices through APNs,do i need to register/authenticate my server to APNs.DO i need to pay for sending Push Notification?Any sample code related to this will help better to understand this. ...

Implementing autologin for ASP.NET MVC

Hi, I've been trying to get membership working in ASP.NET MVC. There are some pages that require authentication. Others that can have guests and authorised members. Much like StackOverflow. They can do things anonymously or as a registered user. We also have a custom database schema of handling members (not the default ASP.NET Membersh...

Why Msjetoledb40.dll is missing in Windows 2008 core - 32 bit and R2 as well?

Hello, I am working on Windows 2008 core R2 and 32 bit. While running application in which I am trying to connect to .mdb file by ADODB connection and using provider as 'Microsoft Jet Provider 4.0' . To get the connection done Msjetoldb40.dll is necessary. But it is not present in Windows 2008 core R2 and 32-bit ( which is of only com...

Access to the windows registry using ADO .Net

Exist any ADO.NET Provider for access to the windows registry? Or rather you can use ADO to connect to the windows registry? Thanks in advance. ...

PowerShell InitializeDefaultDrive

Hi, In my custom powershell provider I want the user to be able to skip the internal call to InitializeDefaultDrives. The InitializeDefaultDrives method is called when the provider starts. I guess this is when I use the Add-SnapIn cmdlet to load my provider. So it looks like i'm searching for a way to add dynamic parameters to to the A...

PowerShell custom provider RemoveItem

I'm implementing a custom PowerShell provider. I'm now working on the remove-item cmdlet implementation. The RemoveItem method has the following signature: protected override void RemoveItem(string path, bool recurse) When I type: Remove-Item .\Myobject -recurse the PowerShell infrastructure provides me with the value true in the rec...

How to sign a custom JCE security provider

Sun's PKCS11 JCE security provider is lacking some functionality we need. So I wrote an enhanced version of it using the original sources. Unfortunately the JCE infrastructure rejects the new provider "JCE cannot authenticate the provider" because it is not properly signed. javax.crypto.JceSecurity.verifyProviderJar(...) throws. (it ca...