you use microsoft visual studio 2010 and microsoft .net framework 4 to create a windows communication foundation (wcf) data services service. you discover that when an application submits a put or delete request to the data services service, it receives an error. you need to ensure that the application can access the service. which header and request type should you use in the application
an x-http-method header as part of a post request
You could go the easy way and use [ADO.NET Data Services](http://codebetter.com/blogs/david.hayden/archive/2008/01/08/getting-started-with-ado-net-data-services.aspx). You will want to look at the httpwebrequest class and its methods. You can feed it a URL and get back the source (page) to do with as you will. The MSDN articles that come up of you google httpwebrequest will help you. There is an MS DOS tool you can use to add a service. It is SC.EXE. I shall illustrate its use with an example.

Suppose, that I had installed two Coldfusion 11 instances named *testInstance1* and *myNewCFInstance*. Their installation directories are, respectively

C:\ColdFusion11\testInstance1\

C:\ColdFusion11\myNewCFInstance\

To add them as Windows services, you could proceed as follows.

Click on the Windows Start symbol.

When you type *cmd* in the search field, a link to the DOS command prompt should appear.

Right-click on the link and select to *Run as Administrator*. You should now get the DOS command prompt.

You can now run the DOS command, SC, to add a Windows service. You will have to do this for each and every instance you wish to add, one instance at a time.

**testInstance1**

Type the following after the prompt and press enter:

*sc create "ColdFusion 11 testInstance1" binPath= C:\ColdFusion11\testInstance1\bin\coldfusionsvc.exe start= auto DisplayName= "ColdFusion 11 testInstance1"*

Explanation:

* You must leave a single space after each equal (=) sign.
* "ColdFusion 11 testInstance1" is the name of the Windows service.
* The start type is Automatic.

![](/legacyfs/online/1191406_pastedImage_20.png)

You should get the result "SUCCESS".

To add the description, you have to run SC once again:

*sc description "ColdFusion 11 testInstance1" "My first ColdFusion 11 instance"*

Explanation:

* You must use the exact Windows service name. It is, in this case,  "ColdFusion 11 testInstance1".
* You may use any description you like. But I would advise you to use something like "ColdFusion 11 instance name\_of\_instance"

![](/legacyfs/online/1191405_pastedImage_16.png)

**myNewCFInstance**

For my second instance, the DOS commands I used to create the Windows service and to add the description were, respectively,

*sc create "ColdFusion 11 myNewCFInstance" binPath= C:\ColdFusion11\myNewCFInstance\bin\coldfusionsvc.exe start= auto DisplayName= "ColdFusion 11 myNewCFInstance"*

Followed by

*sc description "ColdFusion 11 myNewCFInstance" "ColdFusion 11 instance myNewCFInstance"*

Some references:

<https://coldfusionsolution.wordpress.com/2014/11/12/how-to-create-service-for-coldfusion/>

[http://stackoverflow.com/questions/29702700/sc-exe-how-to-set-up-the-description-for-the-windows-ser...](http://stackoverflow.com/questions/29702700/sc-exe-how-to-set-up-the-description-for-the-windows-service)

<https://forums.adobe.com/thread/1152396> 

Should you make a mistake, and wish to delete a service, then see

[How to Delete a Windows Service in Windows 7, 8, 10, Vista, or XP](https://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/ "https://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/") need to add 



```
services.AddEntityFrameworkSqlite().AddDbContext<ApplicationDbContext>();

```

and delete



```
services.AddIdentity<IdentityUser, IdentityRole>()
                    .AddEntityFrameworkStores<ProductContext>();

```

in startup.
the error was about bad startup configuration.
Was sending too much things.


ApplicationDbContext:



```
 public class ApplicationDbContext : IdentityDbContext
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
            : base(options)
        {
        }
        public Microsoft.EntityFrameworkCore.DbSet<Product> Products { get; set; }
        public Microsoft.EntityFrameworkCore.DbSet<List> Lists { get; set; }

        public Microsoft.EntityFrameworkCore.DbSet<ProductList> ProductLists { get; set; }


        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);

             optionsBuilder.UseSqlite("Data Source=assistant.db");

        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {

            base.OnModelCreating(modelBuilder);
            modelBuilder.Entity<ProductList>()
                .HasKey(pl => new { pl.ProductId, pl.ListId });

            modelBuilder.Entity<ProductList>()
                .HasOne(pl => pl.Product)
                .WithMany(p => p.ProductList)
                .HasForeignKey(pl => pl.ProductId)
                .OnDelete(DeleteBehavior.Cascade);

            modelBuilder.Entity<ProductList>()
                .HasOne(pl => pl.List)
                .WithMany(l => l.ProductList)
                .HasForeignKey(pl => pl.ListId)
                .OnDelete(DeleteBehavior.Cascade);
        }
    }

``` It doesn't matter what code editor you use for your website, it depends upon the language you use. Visual Studio is good enough for C, C++, C#, Visual Basic, ASP.net, etc. It isn't good for php.


It makes the work of a programmer easier with all its embedded features. it is an design based code editor. That is why I like it. Dreamweaver on the other hand, gives me a chance to learn the codes thoroughly, since it does not come with ready made help plugins and designing features as such. 1) form controls use a list box for the names of the conference rooms;use datetimepicker for scheduling the reservation...set the format property to custom;set the customformat property to mm dd yyyy hh mm ssof course, will also need ok button2) dataset up the data file like this:room date time1st floor, 6/8/21, 14:00:002nd floor, 6/9/21, 10:00:003rd floor, 6/8/21, 13:30:00reads these records from the file to determine if there is a conflict.if the room is available at the requested time, writes the reservation tothe file (in append mode) and displays a message box saying the reservationis complete. otherwise display a message box saying the room is unavailableat that time. fax modems were developed decades ago. their design makes use of the fact that fax signals are merely audio tones sent along a normal telephone line, so re-designing a regular data modem to also be able to send faxes using the same phone capabilities was relatively simple.

these days you can buy a data modem either as an external box that connects to your computer via a port and cable, or as a card you can install in a pci or pcie slot. then you connect it to a phone line. becasue the addition of fax capabilites became so easy and commonplace, almost all data modems actually include that feature and are sold as fax modems. the drivers supplied with them allow your computer to use either type of service. many people do not install one of these because they have no intention of using a modem on a phone line - they prefer much faster data rates available by connections though the internet. so, unless they need fax abilities, nobody uses them anymore.

your interest seems to be mainly sending (and receiving?) faxes, and perhaps not even trying to use a data modem. current versions of windows make this really easy - you will not use your old winfax pro. windows includes all the tools you need to receive faxes in various ways, depending on whether you want your machine to always watch for incoming faxes, or only when you turn on the feature. for sending a fax it's even easier. windows always includes a system that makes a fax sending unit appear to be just another printer. you can "print" to that printer just as any other. when you do that, a window pops up to let you set a few parameters and then its sends the fax for you. it even includes a little utility to keep track of fax numbers that you can send to.

i used a fax modem infrequently on my last machine, and i really liked it. for one thing, the fax the recipient gets is really clean and readable, with no distortions or dirt specs caused by scanning. (actually, you can scan a document and then "print" it as a fax you send to someone.) but i used it rarely, and in my new machine there is no spare pci slot for the fax modem, so i never moved my old one to the new computer. hi andrew penny, - - just add this namespace definition: - xmlns:system=clr-namespace:system;assembly=mscorlib - - there are differences in parsing between wpf and silverlight and that is the reason we used the syntax below. if you develop silverlight application you can set it as follows: - - discreteobjectkeyframe keytime=0.00:00:00.0 value=2 /> - - - best wishes, - sia - the telerik team - - - do you want to have your say when we set our development plans? - do you want to know when a feature you care about is added or when a bug fixed? - explore the - telerik public issue tracking - system and vote to affect the priority of the items - - Windows 7 is the operating system for your computer and it must have one to function. You have to install another operating like Windows XP or Vista and then you will be able to use the net. If you have not done this before, you should propably find someone who has to help you. solution to my problem.

install python enabling framework and then do the rest of the installation as defined

python\_configure\_opts="--enable-framework" pyenv install 3.6.8

the issue was with wx and the need for a framework

when running a simple ws app

import wx

app = wx.app(false) # create a…