Can I connect a MOSFET to an Arduino directly?
You can connect a MOSFET directly, even without a resistor if you like (though it's not nice to put such a heavy load on the output), but if the MOSFET fails with a Drain-Gate short your Arduino will be scrap. I strongly suggest using a higher voltage MOSFET than that one- it's only 12V and you will at least be subjecting it to at least 12.5-13V when the MOSFET turns off. It does have nice specs at 4.5V drive (good for an ampere or two), but Vds breakdown is too low. 

If you want a modicum of protection, (Edit: Assuming 5V Arduino) put a 5.1V zener on the Arduino output and a 200 ohm metal film resistor to the gate. Put 10K across the 5.1V zener as well so if the output goes open it won't partly turn on. 

You must put a catch diode across the coil. Something like a 1N5819 would be good. 
Otherwise the MOSFET will get very hot and may fail very quickly. 

Edit: You should make sure the MOSFET you select is capable of handling the full current of the solenoid (1A you say). 







simulate this circuit &ndash; Schematic created using CircuitLab